diff options
Diffstat (limited to 'test/suite/ch15/15.5/15.5.4/15.5.4.15')
41 files changed, 251 insertions, 303 deletions
diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A10.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A10.js index 91c17b1ac..8e58e7b5e 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A10.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A10.js @@ -1,12 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The String.prototype.substring.length property has the attribute ReadOnly - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A10.js - * @description Checking if varying the String.prototype.substring.length property fails - */ +/*--- +info: The String.prototype.substring.length property has the attribute ReadOnly +description: > + Checking if varying the String.prototype.substring.length property + fails +includes: [$FAIL.js] +---*/ ////////////////////////////////////////////////////////////////////////////// //CHECK#1 @@ -27,4 +28,3 @@ if (String.prototype.substring.length !== __obj) { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A11.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A11.js index b7a8a57b1..22834e02b 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A11.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A11.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The length property of the substring method is 2 - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A11.js - * @description Checking String.prototype.substring.length - */ +/*--- +info: The length property of the substring method is 2 +description: Checking String.prototype.substring.length +---*/ ////////////////////////////////////////////////////////////////////////////// //CHECK#1 @@ -23,4 +21,3 @@ if (String.prototype.substring.length !== 2) { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T1.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T1.js index 8fb7701e7..b7590f6bc 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T1.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T1.js - * @description Arguments are false and true, and instance is object - */ +/*--- +info: String.prototype.substring (start, end) +description: Arguments are false and true, and instance is object +---*/ var __instance = new Object(true); @@ -19,4 +17,3 @@ if (__instance.substring(false, true) !== "t") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T10.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T10.js index 63fe45ac0..dcfadf4a0 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T10.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T10.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T10.js - * @description Arguments are object and function call, and instance is String, object have overrided valueOf function - */ +/*--- +info: String.prototype.substring (start, end) +description: > + Arguments are object and function call, and instance is String, + object have overrided valueOf function +---*/ var __obj = {valueOf:function(){return 2;}}; @@ -23,4 +23,3 @@ with(__str){ ////////////////////////////////////////////////////////////////////////////// var x; - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T11.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T11.js index dc2aebb6b..ffbb123f9 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T11.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T11.js @@ -1,12 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T11.js - * @description Arguments are objects, and instance is string, objects have overrided valueOf function, that return exception - */ +/*--- +info: String.prototype.substring (start, end) +description: > + Arguments are objects, and instance is string, objects have + overrided valueOf function, that return exception +includes: [$FAIL.js] +---*/ var __obj = {valueOf:function(){throw "instart";}}; var __obj2 = {valueOf:function(){throw "inend";}}; @@ -28,4 +29,3 @@ with(__str){ } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T12.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T12.js index c45c3968a..c3d4d7f95 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T12.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T12.js @@ -1,14 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T12.js - * @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 - */ +/*--- +info: 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 +includes: [$FAIL.js] +---*/ var __obj = {valueOf:function(){return {};}, toString:function(){throw "instart";}}; var __obj2 = {valueOf:function(){throw "inend";}}; @@ -28,4 +29,3 @@ with(__str){ } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T13.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T13.js index 62fd05eda..fef3d3c92 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T13.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T13.js @@ -1,14 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T13.js - * @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 - */ +/*--- +info: 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 +includes: [$FAIL.js] +---*/ var __obj = {valueOf:function(){return {};}, toString:function(){return 1;}}; var __obj2 = {toString:function(){throw "inend";}}; @@ -25,5 +25,3 @@ try { } // ////////////////////////////////////////////////////////////////////////////// - - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T14.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T14.js index 54e7e0495..fca43ee65 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T14.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T14.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T14.js - * @description Used one argument, that is function(){}(). Instance is string - */ +/*--- +info: String.prototype.substring (start, end) +description: Used one argument, that is function(){}(). Instance is string +---*/ ////////////////////////////////////////////////////////////////////////////// //CHECK#1 @@ -15,4 +13,3 @@ if ("report".substring(function(){}()) !== "report") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T15.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T15.js index 22f9cf75a..94139c316 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T15.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T15.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T15.js - * @description Call substring without arguments. Instance is Number with prototype.substring = String.prototype.substring - */ +/*--- +info: String.prototype.substring (start, end) +description: > + Call substring without arguments. Instance is Number with + prototype.substring = String.prototype.substring +---*/ var __num = 11.001002; @@ -20,4 +20,3 @@ if (__num.substring()!=="11.001002") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T2.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T2.js index a46d973a4..e6b3877a4 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T2.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T2.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T2.js - * @description Arguments are function call and x, and instance is Boolean. x is undefined variable - */ +/*--- +info: String.prototype.substring (start, end) +description: > + Arguments are function call and x, and instance is Boolean. x is + undefined variable +---*/ var __instance = new Boolean; @@ -21,4 +21,3 @@ if (__instance.substring(function(){return true;}(),x) !== "alse") { ////////////////////////////////////////////////////////////////////////////// var x; - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T4.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T4.js index 31205feb9..51a5eb141 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T4.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T4.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T4.js - * @description Arguments are null and number, and instance is function call, that returned string - */ +/*--- +info: String.prototype.substring (start, end) +description: > + Arguments are null and number, and instance is function call, that + returned string +---*/ ////////////////////////////////////////////////////////////////////////////// //CHECK#1 @@ -15,4 +15,3 @@ if (function(){return "gnulluna"}().substring(null, -3) !== "") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T5.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T5.js index 097154be2..3b5d40a9b 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T5.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T5.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T5.js - * @description Arguments are null and Function(), and instance is function object, that have overrided valueOf function - */ +/*--- +info: String.prototype.substring (start, end) +description: > + Arguments are null and Function(), and instance is function + object, that have overrided valueOf function +---*/ __func.valueOf=function(){return "gnulluna"}; @@ -22,4 +22,3 @@ if (__func.substring(null, Function()) !== "") { ////////////////////////////////////////////////////////////////////////////// function __func(){}; - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T6.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T6.js index 81a2c9593..d7a7fbb97 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T6.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T6.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T6.js - * @description Arguments are x and number, and instance is new String, x is undefined variable - */ +/*--- +info: String.prototype.substring (start, end) +description: > + Arguments are x and number, and instance is new String, x is + undefined variable +---*/ ////////////////////////////////////////////////////////////////////////////// //CHECK#1 @@ -17,4 +17,3 @@ if (new String("undefined").substring(x,3) !== "und") { ////////////////////////////////////////////////////////////////////////////// var x; - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T7.js index 252e70402..e0c53317a 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T7.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T7.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T7.js - * @description Arguments are symbol and undefined, and instance is String - */ +/*--- +info: String.prototype.substring (start, end) +description: Arguments are symbol and undefined, and instance is String +---*/ ////////////////////////////////////////////////////////////////////////////// //CHECK#1 @@ -15,4 +13,3 @@ if (String(void 0).substring("e",undefined) !== "undefined") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T8.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T8.js index 700202785..dc164603b 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T8.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T8.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T8.js - * @description Arguments are negative number and void 0, and instance is String(object), object have overrided toString function - */ +/*--- +info: String.prototype.substring (start, end) +description: > + Arguments are negative number and void 0, and instance is + String(object), object have overrided toString function +---*/ var __obj = {toString:function(){}}; @@ -17,4 +17,3 @@ if (String(__obj).substring(-4,void 0) !== "undefined") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T9.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T9.js index a9aafd294..841f89ced 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T9.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T9.js @@ -1,12 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A1_T9.js - * @description Arguments are undefined and object, and instance is new String(object), object have overrided valueOf and toString functions - */ +/*--- +info: String.prototype.substring (start, end) +description: > + Arguments are undefined and object, and instance is new + String(object), object have overrided valueOf and toString + functions +---*/ var __obj = { valueOf:function(){}, @@ -20,4 +21,3 @@ if (new String(__obj).substring(/*(function(){})()*/undefined,undefined) !== "un } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T1.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T1.js index 919639a8b..fcbfcd0fc 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T1.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T1.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T1.js - * @description Checking type of substring() - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: Checking type of substring() +---*/ var __string = new String("this is a string object"); @@ -17,4 +15,3 @@ if (typeof __string.substring() !== "string") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T10.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T10.js index 7467a3a74..2c8a8c2d0 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T10.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T10.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T10.js - * @description start is 0, end is 8 - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: start is 0, end is 8 +---*/ var __string = new String("this_is_a_string object"); @@ -17,4 +15,3 @@ if (__string.substring(0,8) !== "this_is_") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T2.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T2.js index a639bf7b1..c5ebe3dee 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T2.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T2.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T2.js - * @description start is NaN, end is Infinity - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: start is NaN, end is Infinity +---*/ var __string = new String('this is a string object'); @@ -17,4 +15,3 @@ if (__string.substring(NaN, Infinity) !== "this is a string object") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T3.js index e6a911dfd..be8344a73 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T3.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T3.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T3.js - * @description Call substring from empty String object - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: Call substring from empty String object +---*/ var __string = new String(""); @@ -17,4 +15,3 @@ if (__string.substring(1,0) !== "") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T4.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T4.js index d79141d8e..b4657e424 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T4.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T4.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T4.js - * @description start is Infinity, end is NaN - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: start is Infinity, end is NaN +---*/ var __string = new String("this is a string object"); @@ -17,4 +15,3 @@ if (__string.substring(Infinity, NaN) !== "this is a string object") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T5.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T5.js index cef78c101..72f670575 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T5.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T5.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T5.js - * @description start is Infinity, end is Infinity - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: start is Infinity, end is Infinity +---*/ var __string = new String("this is a string object"); @@ -17,4 +15,3 @@ if (__string.substring(Infinity, Infinity) !== "") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T6.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T6.js index 1437c87ce..c3dfad865 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T6.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T6.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T6.js - * @description start is negative float number, end is 0 - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: start is negative float number, end is 0 +---*/ var __string = new String("this is a string object"); @@ -17,4 +15,3 @@ if (__string.substring(-0.01,0) !== "") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T7.js index 140b4cc2a..f9b789604 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T7.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T7.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T7.js - * @description start is tested_string.length, end is tested_string.length - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: start is tested_string.length, end is tested_string.length +---*/ var __string = new String("this is a string object"); @@ -17,4 +15,3 @@ if (__string.substring(__string.length, __string.length) !== "") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T8.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T8.js index 9775b8fb2..4bb9adcc4 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T8.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T8.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T8.js - * @description start is tested_string.length+1, end is 0 - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: start is tested_string.length+1, end is 0 +---*/ var __string = new String("this is a string object"); @@ -17,4 +15,3 @@ if (__string.substring(__string.length+1, 0) !== "this is a string object") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T9.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T9.js index b64f86b80..1a6d852d6 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T9.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T9.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A2_T9.js - * @description start is -Infinity, end is -Infinity - */ +/*--- +info: String.prototype.substring (start, end) returns a string value(not object) +description: start is -Infinity, end is -Infinity +---*/ var __string = new String("this is a string object"); @@ -17,4 +15,3 @@ if (__string.substring(-Infinity, -Infinity) !== "") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T1.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T1.js index ee504ea67..de4a38f1d 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T1.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T1.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T1.js - * @description Apply String.prototype.substring to Array instance. Start is Infinity, end is -Infinity - */ +/*--- +info: > + 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 +---*/ var __instance = new Array(1,2,3,4,5); __instance.substring = String.prototype.substring; @@ -19,4 +20,3 @@ if (__instance.substring(Infinity,-Infinity) !== "1,2,3,4,5") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T10.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T10.js index 01935b3f8..767b14b6b 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T10.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T10.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T10.js - * @description Checknig if applying String.prototype.substring to Function object instance passes - */ +/*--- +info: > + 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 +---*/ __FACTORY.prototype.substring = String.prototype.substring; @@ -25,4 +26,3 @@ function __FACTORY( value ) { this.value = value; this.toString = function() { return this.value+''; } } - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T11.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T11.js index 92615a251..8da69fe2f 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T11.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T11.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T11.js - * @description Apply String.prototype.substring to Boolean instance. Start is new Array(), end is new Boolean(1) - */ +/*--- +info: > + 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) +---*/ var __instance = new Boolean(); @@ -20,4 +21,3 @@ if (__instance.substring(new Array(), new Boolean(1)) !== "f") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T2.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T2.js index 728eea958..f9e39bc97 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T2.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T2.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T2.js - * @description Apply String.prototype.substring to Array instance. Start is 9, end is -Infinity - */ +/*--- +info: > + 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 +---*/ var __instance = new Array(1,2,3,4,5); __instance.substring = String.prototype.substring; @@ -19,4 +20,3 @@ if (__instance.substring(9,-Infinity) !== "1,2,3,4,5") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T3.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T3.js index 814c1ad50..4a8645564 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T3.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T3.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T3.js - * @description Apply String.prototype.substring to Array instance. Start is true, end is false - */ +/*--- +info: > + 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 +---*/ var __instance = new Array(1,2,3,4,5); __instance.substring = String.prototype.substring; @@ -19,4 +20,3 @@ if (__instance.substring(true, false) !== "1") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T4.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T4.js index eb91e284f..17b285637 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T4.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T4.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T4.js - * @description Apply String.prototype.substring to Array instance. Start is '4', end is '5' - */ +/*--- +info: > + 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' +---*/ var __instance = new Array(1,2,3,4,5); __instance.substring = String.prototype.substring; @@ -19,4 +20,3 @@ if (__instance.substring('4', '5') !== "3") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T5.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T5.js index 088bd137f..8cf99a921 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T5.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T5.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T5.js - * @description Apply String.prototype.substring to Object instance. Start is 8, end is 0 - */ +/*--- +info: > + 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 +---*/ var __instance = new Object(); __instance.substring = String.prototype.substring; @@ -19,4 +20,3 @@ if (__instance.substring(8,0) !== "[object ") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T6.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T6.js index ac3d0d150..9ea873315 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T6.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T6.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T6.js - * @description Apply String.prototype.substring to Object instance. Start is 8, end is length of object.toString - */ +/*--- +info: > + 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 +---*/ var __instance = new Object(); __instance.substring = String.prototype.substring; @@ -19,4 +20,3 @@ if (__instance.substring(8, __instance.toString().length) !== "Object]") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js index 2c91e0230..7fccbb9e3 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T7.js - * @description Apply String.prototype.substring to Object instance. Call instance.substring(...).substring(...) - */ +/*--- +info: > + 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(...) +---*/ var __instance = { toString: function() { return "function(){}";} }; @@ -20,4 +21,3 @@ if (__instance.substring(-Infinity,8) !== "function") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T8.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T8.js index a20213314..50def7239 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T8.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T8.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T8.js - * @description Apply String.prototype.substring to Number instance. Start is Infinity, end is NaN - */ +/*--- +info: > + 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 +---*/ var __instance = new Number(NaN); @@ -20,4 +21,3 @@ if (__instance.substring(Infinity, NaN) !== "NaN") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T9.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T9.js index 1d7aff7f1..a6c2da03c 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T9.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T9.js @@ -1,13 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring (start, end) can be applied to non String object instance and - * returns a string value(not object) - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A3_T9.js - * @description Apply String.prototype.substring to Math instance. Start is Math.PI, end is -10 - */ +/*--- +info: > + 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 +---*/ var __instance = Math; @@ -20,4 +21,3 @@ if (__instance.substring(Math.PI, -10) !== "[ob") { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A6.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A6.js index fd7426628..533365433 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A6.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A6.js @@ -1,12 +1,10 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring has not prototype property - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A6.js - * @description Checking String.prototype.substring.prototype - */ +/*--- +info: String.prototype.substring has not prototype property +description: Checking String.prototype.substring.prototype +---*/ ////////////////////////////////////////////////////////////////////////////// //CHECK#1 @@ -15,4 +13,3 @@ if (String.prototype.substring.prototype !== undefined) { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A7.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A7.js index fc7c4c502..75a24af28 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A7.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A7.js @@ -1,12 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * String.prototype.substring can't be used as constructor - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A7.js - * @description Checking if creating the String.prototype.substring object fails - */ +/*--- +info: String.prototype.substring can't be used as constructor +description: Checking if creating the String.prototype.substring object fails +includes: + - $PRINT.js + - $FAIL.js +---*/ var __FACTORY = String.prototype.substring; @@ -19,4 +20,3 @@ try { } $PRINT(e); } - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A8.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A8.js index 985519c11..854052dca 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A8.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A8.js @@ -1,12 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The String.prototype.substring.length property has the attribute DontEnum - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A8.js - * @description Checking if enumerating the String.prototype.substring.length property fails - */ +/*--- +info: The String.prototype.substring.length property has the attribute DontEnum +description: > + Checking if enumerating the String.prototype.substring.length + property fails +includes: [$FAIL.js] +---*/ ////////////////////////////////////////////////////////////////////////////// //CHECK#0 @@ -38,4 +39,3 @@ if (count !== 0) { } // ////////////////////////////////////////////////////////////////////////////// - diff --git a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A9.js b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A9.js index 3c1690694..9c67e8306 100644 --- a/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A9.js +++ b/test/suite/ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A9.js @@ -1,12 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The String.prototype.substring.length property has the attribute DontDelete - * - * @path ch15/15.5/15.5.4/15.5.4.15/S15.5.4.15_A9.js - * @description Checking if deleting the String.prototype.substring.length property fails - */ +/*--- +info: > + The String.prototype.substring.length property has the attribute + DontDelete +description: > + Checking if deleting the String.prototype.substring.length + property fails +includes: [$FAIL.js] +---*/ ////////////////////////////////////////////////////////////////////////////// //CHECK#0 @@ -31,4 +34,3 @@ if (!(String.prototype.substring.hasOwnProperty('length'))) { } // ////////////////////////////////////////////////////////////////////////////// - |