diff --git a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.js b/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.js deleted file mode 100644 index 855eed202c611200ad5300ad73c160e609e23ced..0000000000000000000000000000000000000000 --- a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.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. - -/** - * NonEscapeSequence is not EscapeCharacter - * - * @path 07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T3.js - * @description EscapeCharacter :: DecimalDigits :: 8 - * @negative - */ - -//CHECK#1 -"\8" - diff --git a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.js b/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.js deleted file mode 100644 index 1380f58f52506048892f4102f2205631f967264e..0000000000000000000000000000000000000000 --- a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.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. - -/** - * NonEscapeSequence is not EscapeCharacter - * - * @path 07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T4.js - * @description EscapeCharacter :: DecimalDigits :: 9 - * @negative - */ - -//CHECK#1 -"\9" - diff --git a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.js b/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.js deleted file mode 100644 index 54db35549969766a1d4ed16a18b0ed6c564ff9e4..0000000000000000000000000000000000000000 --- a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.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. - -/** - * NonEscapeSequence is not EscapeCharacter - * - * @path 07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T5.js - * @description EscapeCharacter :: u - * @negative - */ - -//CHECK#1 -"\u" - diff --git a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.js b/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.js deleted file mode 100644 index 38294600ff5617e781030ffbc0f4741edef0169e..0000000000000000000000000000000000000000 --- a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_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. - -/** - * NonEscapeSequence is not EscapeCharacter - * - * @path 07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A4.3_T6.js - * @description EscapeCharacter :: x - * @negative - */ - -//CHECK#1 -"\x" - diff --git a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.js b/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.js deleted file mode 100644 index c762587911e94ac5ba203597f0bee5bfb14317af..0000000000000000000000000000000000000000 --- a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_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. - -/** - * HexEscapeSequence \X HexDigit HexDigit is incorrect - * - * @path 07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T1.js - * @description Checking if execution of "\X01" passes - * @negative - */ - -//CHECK#1 -"\X01" - diff --git a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.js b/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.js deleted file mode 100644 index 6fcb78317901b1f350924b1b95817d36a04810e0..0000000000000000000000000000000000000000 --- a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_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. - -/** - * HexEscapeSequence \X HexDigit HexDigit is incorrect - * - * @path 07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A6.4_T2.js - * @description Checking if execution of "\X0A" passes - * @negative - */ - -//CHECK#1 -"\X0A" - diff --git a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.js b/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.js deleted file mode 100644 index 75683c900b1246fd11d3a2b8149f29dd7367c4db..0000000000000000000000000000000000000000 --- a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_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. - -/** - * UnicodeEscapeSequence \U HexDigit HexDigit HexDigit HexDigit is incorrect - * - * @path 07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T1.js - * @description Checking if execution of "\U0001" passes - * @negative - */ - -//CHECK#1 -"\U0001" - diff --git a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.js b/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.js deleted file mode 100644 index 9a5f95683c5a4cd6e52db04410b560a99f10c7b8..0000000000000000000000000000000000000000 --- a/test/suite/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_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. - -/** - * UnicodeEscapeSequence \U HexDigit HexDigit HexDigit HexDigit is incorrect - * - * @path 07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.4_T2.js - * @description Checking if execution of "\U000A" passes - * @negative - */ - -//CHECK#1 -"\U000A" - diff --git a/test/suite/13_Function_Definition/S13_A5.js b/test/suite/13_Function_Definition/S13_A5.js deleted file mode 100644 index 9de47da8eb6340afaa6eb51d0a252f113bf98990..0000000000000000000000000000000000000000 --- a/test/suite/13_Function_Definition/S13_A5.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. - -/** - * Only FormalParameterList as arguments list is allowed - * - * @path 13_Function_Definition/S13_A5.js - * @description Trying to use [arg1, arg2, arg3], (arg1, arg2, arg3), etc. as a FormalParameterList - */ - -////////////////////////////////////////////////////////////////////////////// -//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/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js b/test/suite/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js deleted file mode 100644 index 29432660e432a0c1da060205d15675fa7b85c9c5..0000000000000000000000000000000000000000 --- a/test/suite/15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_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. - -/** - * 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 - * - * @path 15_Native/15.10_RegExp_Objects/15.10.4_The_RegExp_Constructor/S15.10.4.1_A5_T5.js - * @description Checking if using "{toString:function(){return "x";}}" as F leads to throwing the correct exception - */ - -//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/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js b/test/suite/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 1d4565e9221bd4254a476f1a6bee6194df3602b8..0000000000000000000000000000000000000000 --- a/test/suite/15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.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. - -/** - * The value of the internal [[Class]] property of the RegExp prototype object is "Object" - * - * @path 15_Native/15.10_RegExp_Objects/15.10.6_Properties_of_the_RegExp_Prototype_Object/S15.10.6_A2.js - * @description Checking performs with toString function - */ - -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()); -} - -