diff --git a/test/suite/converted/.DS_Store b/test/suite/converted/.DS_Store deleted file mode 100644 index 3fee5893838c062d2ddf9a1d3cef3c8891f9fed5..0000000000000000000000000000000000000000 Binary files a/test/suite/converted/.DS_Store and /dev/null differ diff --git a/test/suite/converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js b/test/suite/converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js index dbc50739bf35518785678dc57295520a4fed2661..b9fb30f124f5bf9a7c815d8abb3794072ad28b9f 100644 --- a/test/suite/converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js +++ b/test/suite/converted/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js @@ -1,7 +1,24 @@ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. /** + * NO-BREAK SPACE (U+00A0) between any two tokens is allowed + * + * @section 7.2, 7.5 * @path 07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js + * @description Insert real NO-BREAK SPACE between tokens of var x=1 */ -��/ +//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/converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js b/test/suite/converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js index abc898fad7203438f3b607db1c628fc512ec8fd5..4d6b1cff81919d85476001971dfdb0a75f85b95e 100644 --- a/test/suite/converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js +++ b/test/suite/converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js @@ -1,7 +1,145 @@ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. /** + * Correct interpretation of RUSSIAN ALPHABET + * + * @section 7.6 * @path 07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T1.js + * @description Check RUSSIAN CAPITAL ALPHABET */ -��/ +//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/converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js b/test/suite/converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js index 8e65945050e16169cd698435d78fa1da57291b62..1f869f54b251fa03f8de02c4f83e9a6cf3d11a4c 100644 --- a/test/suite/converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js +++ b/test/suite/converted/07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js @@ -1,7 +1,145 @@ - +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. /** + * Correct interpretation of RUSSIAN ALPHABET + * + * @section 7.6 * @path 07_Lexical_Conventions/7.6_Identifiers/S7.6_A4.2_T2.js + * @description Check RUSSIAN SMALL ALPHABET */ -��/ +//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('#Ñ‘'); +} +