diff options
Diffstat (limited to 'test/suite/ch15/15.9')
428 files changed, 2941 insertions, 3978 deletions
diff --git a/test/suite/ch15/15.9/15.9.1/15.9.1.15/15.9.1.15-1.js b/test/suite/ch15/15.9/15.9.1/15.9.1.15/15.9.1.15-1.js index b31302315..ff51ca8eb 100644 --- a/test/suite/ch15/15.9/15.9.1/15.9.1.15/15.9.1.15-1.js +++ b/test/suite/ch15/15.9/15.9.1/15.9.1.15/15.9.1.15-1.js @@ -1,20 +1,23 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.1/15.9.1.15/15.9.1.15-1.js
- * @description Date Time String Format - specified default values will be set for all optional fields(MM, DD, mm, ss and time zone) when they are absent
- */
-
-
-function testcase() {
- var result = false;
- var expectedDateTimeStr = "1970-01-01T00:00:00.000Z";
- var dateObj = new Date("1970");
- var dateStr = dateObj.toISOString();
- result = dateStr === expectedDateTimeStr;
- return result;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date Time String Format - specified default values will be set for + all optional fields(MM, DD, mm, ss and time zone) when they are + absent +includes: [runTestCase.js] +---*/ + +function testcase() { + var result = false; + var expectedDateTimeStr = "1970-01-01T00:00:00.000Z"; + var dateObj = new Date("1970"); + var dateStr = dateObj.toISOString(); + result = dateStr === expectedDateTimeStr; + return result; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.2/S15.9.2.1_A1.js b/test/suite/ch15/15.9/15.9.2/S15.9.2.1_A1.js index d7d5643d2..5a8b5854c 100644 --- a/test/suite/ch15/15.9/15.9.2/S15.9.2.1_A1.js +++ b/test/suite/ch15/15.9/15.9.2/S15.9.2.1_A1.js @@ -1,13 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * When Date is called as a function rather than as a constructor, - * it should be "string" representing the current time (UTC) - * - * @path ch15/15.9/15.9.2/S15.9.2.1_A1.js - * @description Checking type of returned value - */ +/*--- +info: > + 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 +---*/ //CHECK#1 if( typeof Date() !== "string" ) { @@ -78,4 +77,3 @@ if( typeof Date(undefined) !== "string" ) { if( typeof Date(null) !== "string" ) { $ERROR('#15: typeof Date(null) should be "string", actual is '+(typeof Date(null))); } - diff --git a/test/suite/ch15/15.9/15.9.2/S15.9.2.1_A2.js b/test/suite/ch15/15.9/15.9.2/S15.9.2.1_A2.js index 8f87742de..941f66fe8 100644 --- a/test/suite/ch15/15.9/15.9.2/S15.9.2.1_A2.js +++ b/test/suite/ch15/15.9/15.9.2/S15.9.2.1_A2.js @@ -1,14 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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() - * - * @path ch15/15.9/15.9.2/S15.9.2.1_A2.js - * @description Use various number arguments and various types of ones - */ +/*--- +info: > + 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 +---*/ function isEqual(d1, d2) { if (d1 === d2) { @@ -89,4 +88,3 @@ if( !isEqual(Date(undefined), (new Date()).toString()) ) { if( !isEqual(Date(null), (new Date()).toString()) ) { $ERROR('#15: Date(null) is equal to (new Date()).toString()'); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T1.js index 629d08712..e4f2eb58d 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T1.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A1_T1.js - * @description 2 arguments, (year, month) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ if (typeof new Date(1899, 11) !== "object") { $FAIL("#1.1: typeof new Date(1899, 11) should be 'object'"); @@ -224,4 +224,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A1_T2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T2.js index 36199a6ce..730d7caf6 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T2.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A1_T2.js - * @description 3 arguments, (year, month, date) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ if (typeof new Date(1899, 11, 31) !== "object") { $FAIL("#1.1: typeof new Date(1899, 11, 31) should be 'object'"); @@ -224,4 +224,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A1_T3.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T3.js index da20c7b94..2c5f9f46d 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T3.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A1_T3.js - * @description 4 arguments, (year, month, date, hours) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ if (typeof new Date(1899, 11, 31, 23) !== "object") { $FAIL("#1.1: typeof new Date(1899, 11, 31, 23) should be 'object'"); @@ -224,4 +224,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A1_T4.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T4.js index 85c2753bb..ec28033a4 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T4.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T4.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A1_T4.js - * @description 5 arguments, (year, month, date, hours, minutes) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ if (typeof new Date(1899, 11, 31, 23, 59) !== "object") { $FAIL("#1.1: typeof new Date(1899, 11, 31, 23, 59) should be 'object'"); @@ -224,4 +224,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A1_T5.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T5.js index b3bc53242..174ea1356 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T5.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T5.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A1_T5.js - * @description 6 arguments, (year, month, date, hours, minutes, seconds) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ 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'"); @@ -224,4 +224,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A1_T6.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T6.js index a33cd7238..92e28bed0 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T6.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A1_T6.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * When Date is called as part of a new expression it is - * a constructor: it initializes the newly created object - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A1_T6.js - * @description 7 arguments, (year, month, date, hours, minutes, seconds, ms) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ 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'"); @@ -224,4 +224,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A2_T1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T1.js index e9a37e7dc..d78b7c50a 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T1.js @@ -1,14 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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 - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A2_T1.js - * @description 2 arguments, (year, month) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ var x11 = new Date(1899, 11); if (typeof x11.constructor.prototype !== "object") { @@ -189,4 +189,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A2_T2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T2.js index c9482d234..098fc7ef7 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T2.js @@ -1,14 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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 - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A2_T2.js - * @description 3 arguments, (year, month, date) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ var x11 = new Date(1899, 11, 31); if (typeof x11.constructor.prototype !== "object") { @@ -189,4 +189,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A2_T3.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T3.js index 42dd6b78c..062da59d9 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T3.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T3.js @@ -1,14 +1,14 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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 - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A2_T3.js - * @description 4 arguments, (year, month, date, hours) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ var x11 = new Date(1899, 11, 31, 23); if (typeof x11.constructor.prototype !== "object") { @@ -189,4 +189,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A2_T4.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T4.js index 371830aa5..b55f4ac40 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T4.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T4.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. -/** - * 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 - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A2_T4.js - * @description 5 arguments, (year, month, date, hours, minutes) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ var x11 = new Date(1899, 11, 31, 23, 59); if (typeof x11.constructor.prototype !== "object") { @@ -189,4 +189,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A2_T5.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T5.js index ca8352d2a..0129dc05a 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T5.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T5.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. -/** - * 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 - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A2_T5.js - * @description 6 arguments, (year, month, date, hours, minutes, seconds) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ var x11 = new Date(1899, 11, 31, 23, 59, 59); if (typeof x11.constructor.prototype !== "object") { @@ -189,4 +189,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A2_T6.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T6.js index 42cc29817..e1442dc93 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T6.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A2_T6.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. -/** - * 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 - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A2_T6.js - * @description 7 arguments, (year, month, date, hours, minutes, seconds, ms) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ var x11 = new Date(1899, 11, 31, 23, 59, 59, 999); if (typeof x11.constructor.prototype !== "object") { @@ -189,4 +189,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T1.1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T1.1.js index 3b7c9cf85..4edc05341 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T1.1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T1.1.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T1.1.js - * @description Test based on delete prototype.toString - 2 arguments, (year, month) - */ +/*--- +info: > + The [[Class]] property of the newly constructed object + is set to "Date" +description: > + Test based on delete prototype.toString - 2 arguments, (year, + month) +includes: [$FAIL.js] +---*/ var x1 = new Date(1899, 11); if (Object.prototype.toString.call(x1) !== "[object Date]") { @@ -68,4 +70,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T1.2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T1.2.js index 16b9f1492..b99af24c1 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T1.2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T1.2.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T1.2.js - * @description Test based on overwriting prototype.toString - 2 arguments, (year, month) - */ +/*--- +info: > + The [[Class]] property of the newly constructed object + is set to "Date" +description: > + Test based on overwriting prototype.toString - 2 arguments, (year, + month) +includes: [$FAIL.js] +---*/ Date.prototype.toString = Object.prototype.toString; @@ -70,5 +72,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T2.1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T2.1.js index 00e3030c7..e4278ea8c 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T2.1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T2.1.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T2.1.js - * @description Test based on delete prototype.toString - 3 arguments, (year, month, date) - */ +/*--- +info: > + The [[Class]] property of the newly constructed object + is set to "Date" +description: > + Test based on delete prototype.toString - 3 arguments, (year, + month, date) +includes: [$FAIL.js] +---*/ var x1 = new Date(1899, 11, 31); if (Object.prototype.toString.call(x1) !== "[object Date]") { @@ -68,4 +70,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T2.2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T2.2.js index d9b53f87d..af8286ea9 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T2.2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T2.2.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T2.2.js - * @description Test based on overwriting prototype.toString - 3 arguments, (year, month, date) - */ +/*--- +info: > + The [[Class]] property of the newly constructed object + is set to "Date" +description: > + Test based on overwriting prototype.toString - 3 arguments, (year, + month, date) +includes: [$FAIL.js] +---*/ Date.prototype.toString = Object.prototype.toString; @@ -70,5 +72,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T3.1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T3.1.js index 8fa20093a..67248c7c4 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T3.1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T3.1.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T3.1.js - * @description Test based on delete prototype.toString - 4 arguments, (year, month, date, hours) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ var x1 = new Date(1899, 11, 31, 23); if (Object.prototype.toString.call(x1) !== "[object Date]") { @@ -68,4 +70,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T3.2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T3.2.js index 1a11ac25a..d199d5d80 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T3.2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T3.2.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T3.2.js - * @description Test based on overwriting prototype.toString - 4 arguments, (year, month, date, hours) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ Date.prototype.toString = Object.prototype.toString; @@ -70,4 +72,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T4.1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T4.1.js index 42ab3dfda..018eec031 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T4.1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T4.1.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T4.1.js - * @description Test based on delete prototype.toString - 5 arguments, (year, month, date, hours, minutes) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ var x1 = new Date(1899, 11, 31, 23, 59); if (Object.prototype.toString.call(x1) !== "[object Date]") { @@ -68,4 +70,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T4.2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T4.2.js index b7e2710e9..514fc315b 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T4.2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T4.2.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T4.2.js - * @description Test based on overwriting prototype.toString - 5 arguments, (year, month, date, hours, minutes) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ Date.prototype.toString = Object.prototype.toString; @@ -70,4 +72,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T5.1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T5.1.js index 7372fc8ee..62ff57be0 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T5.1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T5.1.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T5.1.js - * @description 6 arguments, (year, month, date, hours, minutes, seconds) - */ +/*--- +info: > + The [[Class]] property of the newly constructed object + is set to "Date" +description: 6 arguments, (year, month, date, hours, minutes, seconds) +includes: [$FAIL.js] +---*/ var x1 = new Date(1899, 11, 31, 23, 59, 59); if (Object.prototype.toString.call(x1) !== "[object Date]") { @@ -68,4 +68,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T5.2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T5.2.js index d5d0d16f4..6382ea122 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T5.2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T5.2.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T5.2.js - * @description Test based on overwriting prototype.toString - 6 arguments, (year, month, date, hours, minutes, seconds) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ Date.prototype.toString = Object.prototype.toString; @@ -70,4 +72,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T6.1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T6.1.js index 16cf59479..ca2f56c3c 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T6.1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T6.1.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T6.1.js - * @description 7 arguments, (year, month, date, hours, minutes, seconds, ms) - */ +/*--- +info: > + The [[Class]] property of the newly constructed object + is set to "Date" +description: 7 arguments, (year, month, date, hours, minutes, seconds, ms) +includes: [$FAIL.js] +---*/ var x1 = new Date(1899, 11, 31, 23, 59, 59, 999); if (Object.prototype.toString.call(x1) !== "[object Date]") { @@ -68,4 +68,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A3_T6.2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T6.2.js index 40b9dd5b7..4b2276d35 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T6.2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A3_T6.2.js @@ -1,13 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A3_T6.2.js - * @description Test based on overwriting prototype.toString - 7 arguments, (year, month, date, hours, minutes, seconds, ms) - */ +/*--- +info: > + 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) +includes: [$FAIL.js] +---*/ Date.prototype.toString = Object.prototype.toString; @@ -70,4 +72,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.1_A4_T1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T1.js index b99a99669..a0f72dbb8 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T1.js @@ -1,20 +1,19 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A4_T1.js - * @description 2 arguments, (year, month) - */ +/*--- +info: > + 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) +---*/ var myObj = function(val){ this.value = val; @@ -43,4 +42,3 @@ catch(e){ $ERROR("#2: The 2nd step is calling ToNumber(month)"); } } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T2.js index c711b38f4..2b4ba9df6 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T2.js @@ -1,20 +1,19 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A4_T2.js - * @description 3 arguments, (year, month, date) - */ +/*--- +info: > + 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) +---*/ var myObj = function(val){ this.value = val; @@ -54,4 +53,3 @@ catch(e){ $ERROR("#3: The 3rd step is calling ToNumber(date)"); } } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T3.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T3.js index 4665dd2a4..3759b039b 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T3.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T3.js @@ -1,20 +1,19 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A4_T3.js - * @description 4 arguments, (year, month, date, hours) - */ +/*--- +info: > + 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) +---*/ var myObj = function(val){ this.value = val; @@ -65,4 +64,3 @@ catch(e){ $ERROR("#4: The 4th step is calling ToNumber(hours)"); } } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T4.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T4.js index f27c87a71..8490af46a 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T4.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T4.js @@ -1,20 +1,19 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A4_T4.js - * @description 5 arguments, (year, month, date, hours, minutes) - */ +/*--- +info: > + 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) +---*/ var myObj = function(val){ this.value = val; @@ -76,4 +75,3 @@ catch(e){ $ERROR("#5: The 5th step is calling ToNumber(minutes)"); } } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T5.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T5.js index fb538ce52..cc79688e1 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T5.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T5.js @@ -1,20 +1,19 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A4_T5.js - * @description 6 arguments, (year, month, date, hours, minutes, seconds) - */ +/*--- +info: > + 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) +---*/ var myObj = function(val){ this.value = val; @@ -87,4 +86,3 @@ catch(e){ $ERROR("#6: The 6th step is calling ToNumber(seconds)"); } } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T6.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T6.js index 84586a1d1..54b619da5 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T6.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A4_T6.js @@ -1,20 +1,19 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A4_T6.js - * @description 7 arguments, (year, month, date, hours, minutes, seconds, ms) - */ +/*--- +info: > + 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) +---*/ var myObj = function(val){ this.value = val; @@ -98,4 +97,3 @@ catch(e){ $ERROR("#7: The 7th step is calling ToNumber(ms)"); } } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T1.js index 6aafec22c..c5d5bd8b6 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T1.js @@ -1,71 +1,70 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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))) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A5_T1.js - * @description 2 arguments, (year, month) - */ +/*--- +info: > + 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) +includes: + - $FAIL.js + - environment.js + - numeric_conversion.js + - Date_constants.js + - Date_library.js +---*/ -$INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js");
-
if (-2211638400000 !== new Date(1899, 11).valueOf()) { $FAIL("#1: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1899, 12).valueOf()) { $FAIL("#2: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1900, 0).valueOf()) { $FAIL("#3: Incorrect value of Date"); -}
-
+} + if (-2649600000 !== new Date(1969, 11).valueOf()) { $FAIL("#4: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1969, 12).valueOf()) { $FAIL("#5: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1970, 0).valueOf()) { $FAIL("#6: Incorrect value of Date"); -}
-
+} + if (944035200000 !== new Date(1999, 11).valueOf()) { $FAIL("#7: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(1999, 12).valueOf()) { $FAIL("#8: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(2000, 0).valueOf()) { $FAIL("#9: Incorrect value of Date"); -}
-
+} + if (4099795200000 !== new Date(2099, 11).valueOf()) { $FAIL("#10: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2099, 12).valueOf()) { $FAIL("#11: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2100, 0).valueOf()) { $FAIL("#12: Incorrect value of Date"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T2.js index 34cf98bba..5eb7a3a3c 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T2.js @@ -1,71 +1,70 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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))) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A5_T2.js - * @description 3 arguments, (year, month, date) - */ +/*--- +info: > + 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) +includes: + - $FAIL.js + - environment.js + - numeric_conversion.js + - Date_constants.js + - Date_library.js +---*/ -$INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js");
-
if (-2209046400000 !== new Date(1899, 11, 31).valueOf()) { $FAIL("#1: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1899, 12, 1).valueOf()) { $FAIL("#2: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1900, 0, 1).valueOf()) { $FAIL("#3: Incorrect value of Date"); -}
-
+} + if (-57600000 !== new Date(1969, 11, 31).valueOf()) { $FAIL("#4: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1969, 12, 1).valueOf()) { $FAIL("#5: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1970, 0, 1).valueOf()) { $FAIL("#6: Incorrect value of Date"); -}
-
+} + if (946627200000 !== new Date(1999, 11, 31).valueOf()) { $FAIL("#7: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(1999, 12, 1).valueOf()) { $FAIL("#8: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(2000, 0, 1).valueOf()) { $FAIL("#9: Incorrect value of Date"); -}
-
+} + if (4102387200000 !== new Date(2099, 11, 31).valueOf()) { $FAIL("#10: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2099, 12, 1).valueOf()) { $FAIL("#11: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2100, 0, 1).valueOf()) { $FAIL("#12: Incorrect value of Date"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T3.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T3.js index fdb6387b4..4d69a652f 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T3.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T3.js @@ -1,71 +1,70 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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))) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A5_T3.js - * @description 4 arguments, (year, month, date, hours) - */ +/*--- +info: > + 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) +includes: + - $FAIL.js + - environment.js + - numeric_conversion.js + - Date_constants.js + - Date_library.js +---*/ -$INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js");
-
if (-2208963600000 !== new Date(1899, 11, 31, 23).valueOf()) { $FAIL("#1: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1899, 12, 1, 0).valueOf()) { $FAIL("#2: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1900, 0, 1, 0).valueOf()) { $FAIL("#3: Incorrect value of Date"); -}
-
+} + if (25200000 !== new Date(1969, 11, 31, 23).valueOf()) { $FAIL("#4: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1969, 12, 1, 0).valueOf()) { $FAIL("#5: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1970, 0, 1, 0).valueOf()) { $FAIL("#6: Incorrect value of Date"); -}
-
+} + if (946710000000 !== new Date(1999, 11, 31, 23).valueOf()) { $FAIL("#7: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(1999, 12, 1, 0).valueOf()) { $FAIL("#8: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(2000, 0, 1, 0).valueOf()) { $FAIL("#9: Incorrect value of Date"); -}
-
+} + if (4102470000000 !== new Date(2099, 11, 31, 23).valueOf()) { $FAIL("#10: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2099, 12, 1, 0).valueOf()) { $FAIL("#11: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2100, 0, 1, 0).valueOf()) { $FAIL("#12: Incorrect value of Date"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T4.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T4.js index 296ec5d8a..061e6550e 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T4.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T4.js @@ -1,71 +1,70 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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))) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A5_T4.js - * @description 5 arguments, (year, month, date, hours, minutes) - */ +/*--- +info: > + 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) +includes: + - $FAIL.js + - environment.js + - numeric_conversion.js + - Date_constants.js + - Date_library.js +---*/ -$INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js");
-
if (-2208960060000 !== new Date(1899, 11, 31, 23, 59).valueOf()) { $FAIL("#1: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1899, 12, 1, 0, 0).valueOf()) { $FAIL("#2: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1900, 0, 1, 0, 0).valueOf()) { $FAIL("#3: Incorrect value of Date"); -}
-
+} + if (28740000 !== new Date(1969, 11, 31, 23, 59).valueOf()) { $FAIL("#4: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1969, 12, 1, 0, 0).valueOf()) { $FAIL("#5: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1970, 0, 1, 0, 0).valueOf()) { $FAIL("#6: Incorrect value of Date"); -}
-
+} + if (946713540000 !== new Date(1999, 11, 31, 23, 59).valueOf()) { $FAIL("#7: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(1999, 12, 1, 0, 0).valueOf()) { $FAIL("#8: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(2000, 0, 1, 0, 0).valueOf()) { $FAIL("#9: Incorrect value of Date"); -}
-
+} + if (4102473540000 !== new Date(2099, 11, 31, 23, 59).valueOf()) { $FAIL("#10: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2099, 12, 1, 0, 0).valueOf()) { $FAIL("#11: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2100, 0, 1, 0, 0).valueOf()) { $FAIL("#12: Incorrect value of Date"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T5.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T5.js index b6f579459..05323c930 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T5.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T5.js @@ -1,71 +1,70 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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))) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A5_T5.js - * @description 6 arguments, (year, month, date, hours, minutes, seconds) - */ +/*--- +info: > + 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) +includes: + - $FAIL.js + - environment.js + - numeric_conversion.js + - Date_constants.js + - Date_library.js +---*/ -$INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js");
-
if (-2208960001000 !== new Date(1899, 11, 31, 23, 59, 59).valueOf()) { $FAIL("#1: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1899, 12, 1, 0, 0, 0).valueOf()) { $FAIL("#2: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1900, 0, 1, 0, 0, 0).valueOf()) { $FAIL("#3: Incorrect value of Date"); -}
-
+} + if (28799000 !== new Date(1969, 11, 31, 23, 59, 59).valueOf()) { $FAIL("#4: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1969, 12, 1, 0, 0, 0).valueOf()) { $FAIL("#5: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1970, 0, 1, 0, 0, 0).valueOf()) { $FAIL("#6: Incorrect value of Date"); -}
-
+} + if (946713599000 !== new Date(1999, 11, 31, 23, 59, 59).valueOf()) { $FAIL("#7: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(1999, 12, 1, 0, 0, 0).valueOf()) { $FAIL("#8: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(2000, 0, 1, 0, 0, 0).valueOf()) { $FAIL("#9: Incorrect value of Date"); -}
-
+} + if (4102473599000 !== new Date(2099, 11, 31, 23, 59, 59).valueOf()) { $FAIL("#10: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2099, 12, 1, 0, 0, 0).valueOf()) { $FAIL("#11: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2100, 0, 1, 0, 0, 0).valueOf()) { $FAIL("#12: Incorrect value of Date"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T6.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T6.js index adfb0465c..b3b5317c5 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T6.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A5_T6.js @@ -1,71 +1,70 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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))) - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A5_T6.js - * @description 7 arguments, (year, month, date, hours, minutes, seconds, ms) - */ +/*--- +info: > + 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) +includes: + - $FAIL.js + - environment.js + - numeric_conversion.js + - Date_constants.js + - Date_library.js +---*/ -$INCLUDE("environment.js"); -$INCLUDE("numeric_conversion.js"); -$INCLUDE("Date_constants.js"); -$INCLUDE("Date_library.js");
-
if (-2208960000001 !== new Date(1899, 11, 31, 23, 59, 59, 999).valueOf()) { $FAIL("#1: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1899, 12, 1, 0, 0, 0, 0).valueOf()) { $FAIL("#2: Incorrect value of Date"); -}
-
+} + if (-2208960000000 !== new Date(1900, 0, 1, 0, 0, 0, 0).valueOf()) { $FAIL("#3: Incorrect value of Date"); -}
-
+} + if (28799999 !== new Date(1969, 11, 31, 23, 59, 59, 999).valueOf()) { $FAIL("#4: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1969, 12, 1, 0, 0, 0, 0).valueOf()) { $FAIL("#5: Incorrect value of Date"); -}
-
+} + if (28800000 !== new Date(1970, 0, 1, 0, 0, 0, 0).valueOf()) { $FAIL("#6: Incorrect value of Date"); -}
-
+} + if (946713599999 !== new Date(1999, 11, 31, 23, 59, 59, 999).valueOf()) { $FAIL("#7: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(1999, 12, 1, 0, 0, 0, 0).valueOf()) { $FAIL("#8: Incorrect value of Date"); -}
-
+} + if (946713600000 !== new Date(2000, 0, 1, 0, 0, 0, 0).valueOf()) { $FAIL("#9: Incorrect value of Date"); -}
-
+} + if (4102473599999 !== new Date(2099, 11, 31, 23, 59, 59, 999).valueOf()) { $FAIL("#10: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2099, 12, 1, 0, 0, 0, 0).valueOf()) { $FAIL("#11: Incorrect value of Date"); -}
-
+} + if (4102473600000 !== new Date(2100, 0, 1, 0, 0, 0, 0).valueOf()) { $FAIL("#12: Incorrect value of Date"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T1.js index 887cd4e89..84af065f5 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T1.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A6_T1.js - * @description 2 arguments, (year, month) - */ +/*--- +info: > + The [[Value]] property of the newly constructed object + with supplied "undefined" argument should be NaN +description: 2 arguments, (year, month) +includes: [$FAIL.js] +---*/ function DateValue(year, month, date, hours, minutes, seconds, ms){ return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); @@ -60,4 +60,3 @@ if (!isNaN(DateValue(2099, 12))) { if (!isNaN(DateValue(2100, 0))) { $FAIL("#12: The value should be NaN"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T2.js index 3c3ff0cd4..374a68833 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T2.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A6_T2.js - * @description 3 arguments, (year, month, date) - */ +/*--- +info: > + The [[Value]] property of the newly constructed object + with supplied "undefined" argument should be NaN +description: 3 arguments, (year, month, date) +includes: [$FAIL.js] +---*/ function DateValue(year, month, date, hours, minutes, seconds, ms){ return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); @@ -60,4 +60,3 @@ if (!isNaN(DateValue(2099, 12, 1))) { if (!isNaN(DateValue(2100, 0, 1))) { $FAIL("#12: The value should be NaN"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T3.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T3.js index 311fca2fc..5e19f40db 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T3.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T3.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A6_T3.js - * @description 4 arguments, (year, month, date, hours) - */ +/*--- +info: > + The [[Value]] property of the newly constructed object + with supplied "undefined" argument should be NaN +description: 4 arguments, (year, month, date, hours) +includes: [$FAIL.js] +---*/ function DateValue(year, month, date, hours, minutes, seconds, ms){ return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); @@ -60,4 +60,3 @@ if (!isNaN(DateValue(2099, 12, 1, 0))) { if (!isNaN(DateValue(2100, 0, 1, 0))) { $FAIL("#12: The value should be NaN"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T4.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T4.js index 44a235743..ce348dce1 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T4.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T4.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A6_T4.js - * @description 5 arguments, (year, month, date, hours, minutes) - */ +/*--- +info: > + The [[Value]] property of the newly constructed object + with supplied "undefined" argument should be NaN +description: 5 arguments, (year, month, date, hours, minutes) +includes: [$FAIL.js] +---*/ function DateValue(year, month, date, hours, minutes, seconds, ms){ return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); @@ -60,4 +60,3 @@ if (!isNaN(DateValue(2099, 12, 1, 0, 0))) { if (!isNaN(DateValue(2100, 0, 1, 0, 0))) { $FAIL("#12: The value should be NaN"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T5.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T5.js index d22d80aea..4a6367e40 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T5.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.1_A6_T5.js @@ -1,13 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Value]] property of the newly constructed object - * with supplied "undefined" argument should be NaN - * - * @path ch15/15.9/15.9.3/S15.9.3.1_A6_T5.js - * @description 6 arguments, (year, month, date, hours, minutes, seconds) - */ +/*--- +info: > + The [[Value]] property of the newly constructed object + with supplied "undefined" argument should be NaN +description: 6 arguments, (year, month, date, hours, minutes, seconds) +includes: [$FAIL.js] +---*/ function DateValue(year, month, date, hours, minutes, seconds, ms){ return new Date(year, month, date, hours, minutes, seconds, ms).valueOf(); @@ -60,4 +60,3 @@ if (!isNaN(DateValue(2099, 12, 1, 0, 0, 0))) { if (!isNaN(DateValue(2100, 0, 1, 0, 0, 0))) { $FAIL("#12: The value should be NaN"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A1_T1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A1_T1.js index b0d9d93f7..56d4aa9d5 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A1_T1.js @@ -1,16 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * When Date is called as part of a new expression it is - * a constructor: it initialises the newly created object - * - * @path ch15/15.9/15.9.3/S15.9.3.2_A1_T1.js - * @description Checking types of newly created objects and it values - */ - -$INCLUDE("Date_constants.js"); - +/*--- +info: > + 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 +includes: + - $FAIL.js + - Date_constants.js +---*/ + if (typeof new Date(date_1899_end) !== "object") { $FAIL("#1.1: typeof new Date(date_1899_end) === 'object'"); } @@ -154,4 +154,3 @@ var x84 = new Date(date_2100_start); if(x84 === undefined){ $FAIL("#8.4: new Date(date_2100_start) !== undefined"); } - diff --git a/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A2_T1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A2_T1.js index 588612961..019d6c453 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A2_T1.js @@ -1,16 +1,16 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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 - * - * @path ch15/15.9/15.9.3/S15.9.3.2_A2_T1.js - * @description Checking Date.prototype property of newly constructed objects - */ - -$INCLUDE("Date_constants.js"); +/*--- +info: > + 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 +includes: + - $FAIL.js + - Date_constants.js +---*/ var x11 = new Date(date_1899_end); if (typeof x11.constructor.prototype !== "object") { @@ -131,4 +131,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.2_A3_T1.1.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A3_T1.1.js index d95df2702..da8b599e4 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A3_T1.1.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A3_T1.1.js @@ -1,15 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.2_A3_T1.1.js - * @description Test based on delete prototype.toString - */ - -$INCLUDE("Date_constants.js"); +/*--- +info: > + The [[Class]] property of the newly constructed object + is set to "Date" +description: Test based on delete prototype.toString +includes: + - $FAIL.js + - Date_constants.js +---*/ var x1 = new Date(date_1899_end); if (Object.prototype.toString.call(x1) !== "[object Date]") { @@ -50,4 +50,3 @@ 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/ch15/15.9/15.9.3/S15.9.3.2_A3_T1.2.js b/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A3_T1.2.js index 824bd006a..6b824c3c6 100644 --- a/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A3_T1.2.js +++ b/test/suite/ch15/15.9/15.9.3/S15.9.3.2_A3_T1.2.js @@ -1,15 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The [[Class]] property of the newly constructed object - * is set to "Date" - * - * @path ch15/15.9/15.9.3/S15.9.3.2_A3_T1.2.js - * @description Test based on overwriting prototype.toString - */ - -$INCLUDE("Date_constants.js"); +/*--- +info: > + The [[Class]] property of the newly constructed object + is set to "Date" +description: Test based on overwriting prototype.toString +includes: + - $FAIL.js + - Date_constants.js +---*/ Date.prototype.toString = Object.prototype.toString; @@ -52,4 +52,3 @@ 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/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T1.js b/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T1.js index 6d357cc4b..956a39113 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date property "prototype" has { DontEnum, DontDelete, ReadOnly } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date property "prototype" has { DontEnum, DontDelete, ReadOnly } + attributes +description: Checking ReadOnly attribute +---*/ x = Date.prototype; Date.prototype = 1; if (Date.prototype !== x) { $ERROR('#1: The Date.prototype has the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T2.js b/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T2.js index 5885ccfad..a3797aa98 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T2.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 Date property "prototype" has { DontEnum, DontDelete, ReadOnly } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date property "prototype" has { DontEnum, DontDelete, ReadOnly } + attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype !== false) { $ERROR('#1: The Date.prototype property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype !== false) { if (!Date.hasOwnProperty('prototype')) { $FAIL('#2: The Date.prototype property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T3.js b/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T3.js index 980aa3251..f4de3f21a 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date property "prototype" has { DontEnum, DontDelete, ReadOnly } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.1/S15.9.4.1_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date property "prototype" has { DontEnum, DontDelete, ReadOnly } + attributes +description: Checking DontEnum attribute +---*/ if (Date.propertyIsEnumerable('prototype')) { $ERROR('#1: The Date.prototype property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date) { $ERROR('#2: The Date.prototype has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T1.js b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T1.js index 2fb4afce9..0c8744fcd 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_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. -/** - * The Date property "parse" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date property "parse" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.parse; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.parse === x) { $ERROR('#1: The Date.parse has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T2.js b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T2.js index c3cac9de8..e690dcdeb 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date property "parse" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date property "parse" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.parse === false) { $ERROR('#1: The Date.parse property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.parse === false) { if (Date.hasOwnProperty('parse')) { $FAIL('#2: The Date.parse property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T3.js b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T3.js index a0386541b..66f615576 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_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. -/** - * The Date property "parse" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date property "parse" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.propertyIsEnumerable('parse')) { $ERROR('#1: The Date.parse property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date) { $ERROR('#2: The Date.parse has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A2_T1.js b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A2_T1.js index 579c1ecd6..4cf3504f2 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_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. -/** - * The "length" property of the "parse" is 1 - * - * @path ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A2_T1.js - * @description The "length" property of the "parse" is 1 - */ +/*--- +info: The "length" property of the "parse" is 1 +description: The "length" property of the "parse" is 1 +---*/ if(Date.parse.hasOwnProperty("length") !== true){ $ERROR('#1: The parse has a "length" property'); @@ -15,5 +13,3 @@ if(Date.parse.hasOwnProperty("length") !== true){ if(Date.parse.length !== 1){ $ERROR('#2: The "length" property of the parse is 1'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T1.js b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T1.js index e802350b4..5ad6fa622 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.parse property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.parse property "length" has { ReadOnly, DontDelete, DontEnum } + attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T2.js b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T2.js index a613528aa..26a6ee371 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T2.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 Date.parse property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.parse property "length" has { ReadOnly, DontDelete, DontEnum } + attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.parse.length !== false) { $ERROR('#1: The Date.parse.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.parse.length !== false) { if (!Date.parse.hasOwnProperty('length')) { $FAIL('#2: The Date.parse.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T3.js b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T3.js index 13b9cc0ad..6de8539e8 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.parse property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.2/S15.9.4.2_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.parse property "length" has { ReadOnly, DontDelete, DontEnum } + attributes +description: Checking DontEnum attribute +---*/ if (Date.parse.propertyIsEnumerable('length')) { $ERROR('#1: The Date.parse.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.parse) { $ERROR('#2: The Date.parse.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T1.js b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T1.js index 6df1fbc65..7b7d6ae3a 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_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. -/** - * The Date property "UTC" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date property "UTC" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.UTC; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.UTC === x) { $ERROR('#1: The Date.UTC has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T2.js b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T2.js index f4214ab90..f8151d7c2 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date property "UTC" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date property "UTC" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.UTC === false) { $ERROR('#1: The Date.UTC property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.UTC === false) { if (Date.hasOwnProperty('UTC')) { $FAIL('#2: The Date.UTC property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T3.js b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T3.js index cad9d23d1..fbbfb703b 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_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. -/** - * The Date property "UTC" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date property "UTC" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.propertyIsEnumerable('UTC')) { $ERROR('#1: The Date.UTC property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date) { $ERROR('#2: The Date.UTC has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A2_T1.js b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A2_T1.js index 5e99089e5..23006e429 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_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. -/** - * The "length" property of the "UTC" is 7 - * - * @path ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A2_T1.js - * @description The "length" property of the "UTC" is 7 - */ +/*--- +info: The "length" property of the "UTC" is 7 +description: The "length" property of the "UTC" is 7 +---*/ if(Date.UTC.hasOwnProperty("length") !== true){ $ERROR('#1: The UTC has a "length" property'); @@ -15,5 +13,3 @@ if(Date.UTC.hasOwnProperty("length") !== true){ if(Date.UTC.length !== 7){ $ERROR('#2: The "length" property of the UTC is 7'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T1.js b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T1.js index 9935b2f35..9fcb93140 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.UTC property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.UTC property "length" has { ReadOnly, DontDelete, DontEnum } + attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T2.js b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T2.js index 725626ab3..1906fc444 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T2.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 Date.UTC property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.UTC property "length" has { ReadOnly, DontDelete, DontEnum } + attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.UTC.length !== false) { $ERROR('#1: The Date.UTC.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.UTC.length !== false) { if (!Date.UTC.hasOwnProperty('length')) { $FAIL('#2: The Date.UTC.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T3.js b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T3.js index 8eb62a943..d5d9ebc55 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.UTC property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.4/15.9.4.3/S15.9.4.3_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.UTC property "length" has { ReadOnly, DontDelete, DontEnum } + attributes +description: Checking DontEnum attribute +---*/ if (Date.UTC.propertyIsEnumerable('length')) { $ERROR('#1: The Date.UTC.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.UTC) { $ERROR('#2: The Date.UTC.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-1.js b/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-1.js index c336c2c8f..d374da645 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-1.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-1.js @@ -1,15 +1,15 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-1.js
- * @description Date.now must exist as a function
- */
-
-
-function testcase() {
- return typeof Date.now === "function";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: Date.now must exist as a function +includes: [runTestCase.js] +---*/ + +function testcase() { + return typeof Date.now === "function"; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-2.js b/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-2.js index c20ca6e6e..9e8a03ae5 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-2.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-2.js @@ -1,15 +1,15 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-2.js
- * @description Date.now must exist as a function taking 0 parameters
- */
-
-
-function testcase() {
- return Date.now.length === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: Date.now must exist as a function taking 0 parameters +includes: [runTestCase.js] +---*/ + +function testcase() { + return Date.now.length === 0; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-3.js b/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-3.js index 24408d293..afaf183f3 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-3.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-3.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-3.js
- * @description Date.now must exist as a function
- */
-
-
-function testcase() {
-
- var fun = Date.now;
- return (typeof (fun) === "function");
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: Date.now must exist as a function +includes: [runTestCase.js] +---*/ + +function testcase() { + + var fun = Date.now; + return (typeof (fun) === "function"); + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-4.js b/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-4.js index b3e381628..2a4824253 100644 --- a/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-4.js +++ b/test/suite/ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-4.js @@ -1,15 +1,15 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.4/15.9.4.4/15.9.4.4-0-4.js
- * @description Date.now - returns number
- */
-
-
-function testcase() {
- return typeof Date.now() === "number";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: Date.now - returns number +includes: [runTestCase.js] +---*/ + +function testcase() { + return typeof Date.now() === "number"; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.4/S15.9.4_A1.js b/test/suite/ch15/15.9/15.9.4/S15.9.4_A1.js index 0136767f7..981afcf50 100644 --- a/test/suite/ch15/15.9/15.9.4/S15.9.4_A1.js +++ b/test/suite/ch15/15.9/15.9.4/S15.9.4_A1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date constructor has the property "prototype" - * - * @path ch15/15.9/15.9.4/S15.9.4_A1.js - * @description Checking existence of the property "prototype" - */ +/*--- +info: The Date constructor has the property "prototype" +description: Checking existence of the property "prototype" +---*/ if(!Date.hasOwnProperty("prototype")){ $ERROR('#1: The Date constructor has the property "prototype"'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/S15.9.4_A2.js b/test/suite/ch15/15.9/15.9.4/S15.9.4_A2.js index 6fdd2de7f..aa64a3a5b 100644 --- a/test/suite/ch15/15.9/15.9.4/S15.9.4_A2.js +++ b/test/suite/ch15/15.9/15.9.4/S15.9.4_A2.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date constructor has the property "parse" - * - * @path ch15/15.9/15.9.4/S15.9.4_A2.js - * @description Checking existence of the property "parse" - */ +/*--- +info: The Date constructor has the property "parse" +description: Checking existence of the property "parse" +---*/ if(!Date.hasOwnProperty("parse")){ $ERROR('#1: The Date constructor has the property "parse"'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/S15.9.4_A3.js b/test/suite/ch15/15.9/15.9.4/S15.9.4_A3.js index 6dd7de3f7..e4e99ef83 100644 --- a/test/suite/ch15/15.9/15.9.4/S15.9.4_A3.js +++ b/test/suite/ch15/15.9/15.9.4/S15.9.4_A3.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date constructor has the property "UTC" - * - * @path ch15/15.9/15.9.4/S15.9.4_A3.js - * @description Checking existence of the property "UTC" - */ +/*--- +info: The Date constructor has the property "UTC" +description: Checking existence of the property "UTC" +---*/ if(!Date.hasOwnProperty("UTC")){ $ERROR('#1: The Date constructor has the property "UTC"'); } - - diff --git a/test/suite/ch15/15.9/15.9.4/S15.9.4_A4.js b/test/suite/ch15/15.9/15.9.4/S15.9.4_A4.js index 127edb03b..558543b80 100644 --- a/test/suite/ch15/15.9/15.9.4/S15.9.4_A4.js +++ b/test/suite/ch15/15.9/15.9.4/S15.9.4_A4.js @@ -1,16 +1,14 @@ // 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 [[Prototype]] property of the Date - * constructor is the Function prototype object - * - * @path ch15/15.9/15.9.4/S15.9.4_A4.js - * @description Checking Function.prototype.isPrototypeOf(Date) - */ +/*--- +info: > + The value of the internal [[Prototype]] property of the Date + constructor is the Function prototype object +description: Checking Function.prototype.isPrototypeOf(Date) +---*/ //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/ch15/15.9/15.9.4/S15.9.4_A5.js b/test/suite/ch15/15.9/15.9.4/S15.9.4_A5.js index 13520bfbf..cb1ed28e5 100644 --- a/test/suite/ch15/15.9/15.9.4/S15.9.4_A5.js +++ b/test/suite/ch15/15.9/15.9.4/S15.9.4_A5.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. -/** - * Date constructor has length property whose value is 7 - * - * @path ch15/15.9/15.9.4/S15.9.4_A5.js - * @description Checking Date.length property - */ +/*--- +info: Date constructor has length property whose value is 7 +description: Checking Date.length property +---*/ //CHECK#1 if (!Date.hasOwnProperty("length")){ @@ -17,4 +15,3 @@ if (!Date.hasOwnProperty("length")){ if (Date.length !== 7) { $ERROR('#2: Date constructor length property value should be 7'); } - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T1.js index 85d98138f..6bd2fa329 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_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. -/** - * The Date.prototype property "constructor" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "constructor" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.constructor; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.constructor === x) { $ERROR('#1: The Date.prototype.constructor has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T2.js index 700e78172..237497157 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "constructor" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "constructor" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.constructor === false) { $ERROR('#1: The Date.prototype.constructor property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.constructor === false) { if (Date.prototype.hasOwnProperty('constructor')) { $FAIL('#2: The Date.prototype.constructor property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T3.js index 311bcec9f..3c1973015 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_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. -/** - * The Date.prototype property "constructor" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "constructor" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('constructor')) { $ERROR('#1: The Date.prototype.constructor property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.constructor has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A2_T1.js index cc19d7123..fd904302a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_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. -/** - * The "length" property of the "constructor" is 7 - * - * @path ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A2_T1.js - * @description The "length" property of the "constructor" is 7 - */ +/*--- +info: The "length" property of the "constructor" is 7 +description: The "length" property of the "constructor" is 7 +---*/ if(Date.prototype.constructor.hasOwnProperty("length") !== true){ $ERROR('#1: The constructor has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.constructor.hasOwnProperty("length") !== true){ if(Date.prototype.constructor.length !== 7){ $ERROR('#2: The "length" property of the constructor is 7'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T1.js index d7d46b0f8..c7bb3acbf 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.constructor property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.constructor property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T2.js index 3da0dba90..c5552d037 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T2.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 Date.prototype.constructor property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.constructor property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.constructor.length !== false) { $ERROR('#1: The Date.prototype.constructor.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.constructor.length !== false) { if (!Date.prototype.constructor.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.constructor.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T3.js index 849b58b01..644c5c58f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.constructor property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.1/S15.9.5.1_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.constructor property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.constructor.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.constructor.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.constructor) { $ERROR('#2: The Date.prototype.constructor.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T1.js index 32dcb04fd..0c8019ccd 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_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. -/** - * The Date.prototype property "getFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getFullYear" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getFullYear; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getFullYear === x) { $ERROR('#1: The Date.prototype.getFullYear has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T2.js index 48ac01fa0..1d7429037 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getFullYear" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getFullYear === false) { $ERROR('#1: The Date.prototype.getFullYear property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getFullYear === false) { if (Date.prototype.hasOwnProperty('getFullYear')) { $FAIL('#2: The Date.prototype.getFullYear property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T3.js index e89854f71..e45c1ab59 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_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. -/** - * The Date.prototype property "getFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getFullYear" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getFullYear')) { $ERROR('#1: The Date.prototype.getFullYear property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getFullYear has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A2_T1.js index 935f21c0f..ea312ba97 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_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. -/** - * The "length" property of the "getFullYear" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A2_T1.js - * @description The "length" property of the "getFullYear" is 0 - */ +/*--- +info: The "length" property of the "getFullYear" is 0 +description: The "length" property of the "getFullYear" is 0 +---*/ if(Date.prototype.getFullYear.hasOwnProperty("length") !== true){ $ERROR('#1: The getFullYear has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getFullYear.hasOwnProperty("length") !== true){ if(Date.prototype.getFullYear.length !== 0){ $ERROR('#2: The "length" property of the getFullYear is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T1.js index 61ea3058f..5ff6e59c0 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T2.js index f038c67f3..c9116e9e4 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T2.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 Date.prototype.getFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getFullYear.length !== false) { $ERROR('#1: The Date.prototype.getFullYear.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getFullYear.length !== false) { if (!Date.prototype.getFullYear.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getFullYear.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T3.js index e15219d55..0a2a34a8c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.10/S15.9.5.10_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getFullYear.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getFullYear) { $ERROR('#2: The Date.prototype.getFullYear.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T1.js index 77c306501..e638f8b95 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_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. -/** - * The Date.prototype property "getUTCFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getUTCFullYear" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getUTCFullYear; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getUTCFullYear === x) { $ERROR('#1: The Date.prototype.getUTCFullYear has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T2.js index 7f9bb3ca8..c51b2edbd 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getUTCFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getUTCFullYear" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCFullYear === false) { $ERROR('#1: The Date.prototype.getUTCFullYear property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getUTCFullYear === false) { if (Date.prototype.hasOwnProperty('getUTCFullYear')) { $FAIL('#2: The Date.prototype.getUTCFullYear property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T3.js index 8641b5bd2..4a514b4f7 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_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. -/** - * The Date.prototype property "getUTCFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getUTCFullYear" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getUTCFullYear')) { $ERROR('#1: The Date.prototype.getUTCFullYear property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getUTCFullYear has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A2_T1.js index 41624187c..3bd121e02 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_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. -/** - * The "length" property of the "getUTCFullYear" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A2_T1.js - * @description The "length" property of the "getUTCFullYear" is 0 - */ +/*--- +info: The "length" property of the "getUTCFullYear" is 0 +description: The "length" property of the "getUTCFullYear" is 0 +---*/ if(Date.prototype.getUTCFullYear.hasOwnProperty("length") !== true){ $ERROR('#1: The getUTCFullYear has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getUTCFullYear.hasOwnProperty("length") !== true){ if(Date.prototype.getUTCFullYear.length !== 0){ $ERROR('#2: The "length" property of the getUTCFullYear is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T1.js index 0139980c5..e58d67c1b 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getUTCFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T2.js index 760684fcc..0dbac7707 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T2.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 Date.prototype.getUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getUTCFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCFullYear.length !== false) { $ERROR('#1: The Date.prototype.getUTCFullYear.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getUTCFullYear.length !== false) { if (!Date.prototype.getUTCFullYear.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getUTCFullYear.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T3.js index 92c3a7b0d..677051a56 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.11/S15.9.5.11_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getUTCFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getUTCFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCFullYear.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getUTCFullYear) { $ERROR('#2: The Date.prototype.getUTCFullYear.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T1.js index 556b8408a..e44a45f46 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_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. -/** - * The Date.prototype property "getMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getMonth" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getMonth; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getMonth === x) { $ERROR('#1: The Date.prototype.getMonth has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T2.js index 3c10eae2e..6e596b2f0 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getMonth" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getMonth === false) { $ERROR('#1: The Date.prototype.getMonth property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getMonth === false) { if (Date.prototype.hasOwnProperty('getMonth')) { $FAIL('#2: The Date.prototype.getMonth property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T3.js index c69df9793..0ecfa1d8f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_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. -/** - * The Date.prototype property "getMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getMonth" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getMonth')) { $ERROR('#1: The Date.prototype.getMonth property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getMonth has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A2_T1.js index 47ed855ed..780f8fbd0 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_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. -/** - * The "length" property of the "getMonth" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A2_T1.js - * @description The "length" property of the "getMonth" is 0 - */ +/*--- +info: The "length" property of the "getMonth" is 0 +description: The "length" property of the "getMonth" is 0 +---*/ if(Date.prototype.getMonth.hasOwnProperty("length") !== true){ $ERROR('#1: The getMonth has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getMonth.hasOwnProperty("length") !== true){ if(Date.prototype.getMonth.length !== 0){ $ERROR('#2: The "length" property of the getMonth is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T1.js index bf5bf66f7..3e79ff14a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getMonth property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T2.js index d555488ec..0752dbaa9 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T2.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 Date.prototype.getMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getMonth property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getMonth.length !== false) { $ERROR('#1: The Date.prototype.getMonth.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getMonth.length !== false) { if (!Date.prototype.getMonth.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getMonth.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T3.js index e19077e23..47782c44f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.12/S15.9.5.12_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getMonth property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getMonth.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getMonth) { $ERROR('#2: The Date.prototype.getMonth.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T1.js index 7b52ba2de..6eb160983 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_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. -/** - * The Date.prototype property "getUTCMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getUTCMonth" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getUTCMonth; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getUTCMonth === x) { $ERROR('#1: The Date.prototype.getUTCMonth has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T2.js index e744f8df6..001ef001a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getUTCMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getUTCMonth" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCMonth === false) { $ERROR('#1: The Date.prototype.getUTCMonth property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getUTCMonth === false) { if (Date.prototype.hasOwnProperty('getUTCMonth')) { $FAIL('#2: The Date.prototype.getUTCMonth property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T3.js index c09e96f41..d3a00b539 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_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. -/** - * The Date.prototype property "getUTCMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getUTCMonth" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getUTCMonth')) { $ERROR('#1: The Date.prototype.getUTCMonth property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getUTCMonth has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A2_T1.js index 9d604be79..4b3226bea 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_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. -/** - * The "length" property of the "getUTCMonth" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A2_T1.js - * @description The "length" property of the "getUTCMonth" is 0 - */ +/*--- +info: The "length" property of the "getUTCMonth" is 0 +description: The "length" property of the "getUTCMonth" is 0 +---*/ if(Date.prototype.getUTCMonth.hasOwnProperty("length") !== true){ $ERROR('#1: The getUTCMonth has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getUTCMonth.hasOwnProperty("length") !== true){ if(Date.prototype.getUTCMonth.length !== 0){ $ERROR('#2: The "length" property of the getUTCMonth is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T1.js index b36862957..f0eb495b5 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getUTCMonth property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T2.js index 850415584..470ea2143 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T2.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 Date.prototype.getUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getUTCMonth property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCMonth.length !== false) { $ERROR('#1: The Date.prototype.getUTCMonth.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getUTCMonth.length !== false) { if (!Date.prototype.getUTCMonth.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getUTCMonth.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T3.js index 3e364a3d6..7dbba28dc 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.13/S15.9.5.13_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getUTCMonth property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getUTCMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCMonth.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getUTCMonth) { $ERROR('#2: The Date.prototype.getUTCMonth.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T1.js index 40699e8ae..d17e2c1d2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_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. -/** - * The Date.prototype property "getDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getDate" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getDate; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getDate === x) { $ERROR('#1: The Date.prototype.getDate has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T2.js index fb8261482..181343e42 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getDate" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getDate === false) { $ERROR('#1: The Date.prototype.getDate property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getDate === false) { if (Date.prototype.hasOwnProperty('getDate')) { $FAIL('#2: The Date.prototype.getDate property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T3.js index 1dc39e93c..6a7b1769e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_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. -/** - * The Date.prototype property "getDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getDate" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getDate')) { $ERROR('#1: The Date.prototype.getDate property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getDate has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A2_T1.js index ecd6fb8ca..358a6e76e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_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. -/** - * The "length" property of the "getDate" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A2_T1.js - * @description The "length" property of the "getDate" is 0 - */ +/*--- +info: The "length" property of the "getDate" is 0 +description: The "length" property of the "getDate" is 0 +---*/ if(Date.prototype.getDate.hasOwnProperty("length") !== true){ $ERROR('#1: The getDate has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getDate.hasOwnProperty("length") !== true){ if(Date.prototype.getDate.length !== 0){ $ERROR('#2: The "length" property of the getDate is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T1.js index 942319f73..c11e68d3c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getDate property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T2.js index ad36fd81b..bc886d0b3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T2.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 Date.prototype.getDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getDate property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getDate.length !== false) { $ERROR('#1: The Date.prototype.getDate.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getDate.length !== false) { if (!Date.prototype.getDate.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getDate.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T3.js index ffec9e3f2..a2fe6352e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.14/S15.9.5.14_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getDate property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getDate.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getDate) { $ERROR('#2: The Date.prototype.getDate.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T1.js index b07c42ee4..63bdb5de7 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.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. -/** - * The Date.prototype property "getUTCDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getUTCDate" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getUTCDate; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getUTCDate === x) { $ERROR('#1: The Date.prototype.getUTCDate has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T2.js index 94425617e..2eaaa7f17 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getUTCDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getUTCDate" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCDate === false) { $ERROR('#1: The Date.prototype.getUTCDate property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getUTCDate === false) { if (Date.prototype.hasOwnProperty('getUTCDate')) { $FAIL('#2: The Date.prototype.getUTCDate property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T3.js index 1f9077223..0cdbb071a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_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. -/** - * The Date.prototype property "getUTCDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getUTCDate" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getUTCDate')) { $ERROR('#1: The Date.prototype.getUTCDate property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getUTCDate has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A2_T1.js index ccdad27aa..1e0663500 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.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. -/** - * The "length" property of the "getUTCDate" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A2_T1.js - * @description The "length" property of the "getUTCDate" is 0 - */ +/*--- +info: The "length" property of the "getUTCDate" is 0 +description: The "length" property of the "getUTCDate" is 0 +---*/ if(Date.prototype.getUTCDate.hasOwnProperty("length") !== true){ $ERROR('#1: The getUTCDate has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getUTCDate.hasOwnProperty("length") !== true){ if(Date.prototype.getUTCDate.length !== 0){ $ERROR('#2: The "length" property of the getUTCDate is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T1.js index f91c38358..7018bdaa1 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getUTCDate property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T2.js index e0617d446..7d61a2c8a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T2.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 Date.prototype.getUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getUTCDate property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCDate.length !== false) { $ERROR('#1: The Date.prototype.getUTCDate.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getUTCDate.length !== false) { if (!Date.prototype.getUTCDate.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getUTCDate.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T3.js index 849a02db0..d6c556dc6 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.15/S15.9.5.15_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getUTCDate property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getUTCDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCDate.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getUTCDate) { $ERROR('#2: The Date.prototype.getUTCDate.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T1.js index 51eeb1ec5..a1a22884f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_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. -/** - * The Date.prototype property "getDay" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getDay" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getDay; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getDay === x) { $ERROR('#1: The Date.prototype.getDay has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T2.js index 09f499c78..3b6adbc9b 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getDay" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getDay" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getDay === false) { $ERROR('#1: The Date.prototype.getDay property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getDay === false) { if (Date.prototype.hasOwnProperty('getDay')) { $FAIL('#2: The Date.prototype.getDay property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T3.js index 566071d92..1110b6aaf 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_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. -/** - * The Date.prototype property "getDay" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getDay" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getDay')) { $ERROR('#1: The Date.prototype.getDay property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getDay has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A2_T1.js index 02d078baf..f12fe6285 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_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. -/** - * The "length" property of the "getDay" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A2_T1.js - * @description The "length" property of the "getDay" is 0 - */ +/*--- +info: The "length" property of the "getDay" is 0 +description: The "length" property of the "getDay" is 0 +---*/ if(Date.prototype.getDay.hasOwnProperty("length") !== true){ $ERROR('#1: The getDay has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getDay.hasOwnProperty("length") !== true){ if(Date.prototype.getDay.length !== 0){ $ERROR('#2: The "length" property of the getDay is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T1.js index 71f53d71f..2f2d7cd5e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getDay property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T2.js index 70d64e1d5..7159d2abe 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T2.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 Date.prototype.getDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getDay property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getDay.length !== false) { $ERROR('#1: The Date.prototype.getDay.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getDay.length !== false) { if (!Date.prototype.getDay.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getDay.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T3.js index 7de02a0d9..0a891a962 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.16/S15.9.5.16_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getDay property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getDay.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getDay.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getDay) { $ERROR('#2: The Date.prototype.getDay.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T1.js index 2ea449028..40ac52b50 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_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. -/** - * The Date.prototype property "getUTCDay" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getUTCDay" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getUTCDay; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getUTCDay === x) { $ERROR('#1: The Date.prototype.getUTCDay has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T2.js index 11a9d0ea3..ef22e807f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getUTCDay" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getUTCDay" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCDay === false) { $ERROR('#1: The Date.prototype.getUTCDay property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getUTCDay === false) { if (Date.prototype.hasOwnProperty('getUTCDay')) { $FAIL('#2: The Date.prototype.getUTCDay property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T3.js index c336efdca..1c8030707 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_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. -/** - * The Date.prototype property "getUTCDay" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getUTCDay" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getUTCDay')) { $ERROR('#1: The Date.prototype.getUTCDay property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getUTCDay has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A2_T1.js index f3699c47d..5fb141ab4 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_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. -/** - * The "length" property of the "getUTCDay" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A2_T1.js - * @description The "length" property of the "getUTCDay" is 0 - */ +/*--- +info: The "length" property of the "getUTCDay" is 0 +description: The "length" property of the "getUTCDay" is 0 +---*/ if(Date.prototype.getUTCDay.hasOwnProperty("length") !== true){ $ERROR('#1: The getUTCDay has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getUTCDay.hasOwnProperty("length") !== true){ if(Date.prototype.getUTCDay.length !== 0){ $ERROR('#2: The "length" property of the getUTCDay is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T1.js index 533c59f3f..9febfd2dd 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getUTCDay property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T2.js index 96faa270c..e1290acc4 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T2.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 Date.prototype.getUTCDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getUTCDay property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCDay.length !== false) { $ERROR('#1: The Date.prototype.getUTCDay.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getUTCDay.length !== false) { if (!Date.prototype.getUTCDay.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getUTCDay.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T3.js index 89e7f5e38..4a72bf54b 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCDay property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.17/S15.9.5.17_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getUTCDay property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getUTCDay.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCDay.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getUTCDay) { $ERROR('#2: The Date.prototype.getUTCDay.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T1.js index 21df7c849..448f28630 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_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. -/** - * The Date.prototype property "getHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getHours" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getHours; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getHours === x) { $ERROR('#1: The Date.prototype.getHours has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T2.js index 3eed77e59..ebb9cb3f8 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getHours" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getHours === false) { $ERROR('#1: The Date.prototype.getHours property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getHours === false) { if (Date.prototype.hasOwnProperty('getHours')) { $FAIL('#2: The Date.prototype.getHours property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T3.js index 2c06a04c5..f09fb78b8 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_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. -/** - * The Date.prototype property "getHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getHours" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getHours')) { $ERROR('#1: The Date.prototype.getHours property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getHours has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A2_T1.js index abf67c992..595c7640d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_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. -/** - * The "length" property of the "getHours" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A2_T1.js - * @description The "length" property of the "getHours" is 0 - */ +/*--- +info: The "length" property of the "getHours" is 0 +description: The "length" property of the "getHours" is 0 +---*/ if(Date.prototype.getHours.hasOwnProperty("length") !== true){ $ERROR('#1: The getHours has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getHours.hasOwnProperty("length") !== true){ if(Date.prototype.getHours.length !== 0){ $ERROR('#2: The "length" property of the getHours is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T1.js index 6226fb411..7b7867d3f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getHours property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T2.js index 7d8503375..ff8c74ff0 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T2.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 Date.prototype.getHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getHours property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getHours.length !== false) { $ERROR('#1: The Date.prototype.getHours.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getHours.length !== false) { if (!Date.prototype.getHours.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getHours.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T3.js index 2639f7f35..37dcc52a3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.18/S15.9.5.18_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getHours property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getHours.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getHours) { $ERROR('#2: The Date.prototype.getHours.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T1.js index 83aec2d9f..e77978a76 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_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. -/** - * The Date.prototype property "getUTCHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getUTCHours" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getUTCHours; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getUTCHours === x) { $ERROR('#1: The Date.prototype.getUTCHours has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T2.js index dbe96536f..5ba5a68d0 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getUTCHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getUTCHours" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCHours === false) { $ERROR('#1: The Date.prototype.getUTCHours property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getUTCHours === false) { if (Date.prototype.hasOwnProperty('getUTCHours')) { $FAIL('#2: The Date.prototype.getUTCHours property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T3.js index cce164641..b85972f92 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_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. -/** - * The Date.prototype property "getUTCHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getUTCHours" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getUTCHours')) { $ERROR('#1: The Date.prototype.getUTCHours property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getUTCHours has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A2_T1.js index 8bd281f48..c72cc0749 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_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. -/** - * The "length" property of the "getUTCHours" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A2_T1.js - * @description The "length" property of the "getUTCHours" is 0 - */ +/*--- +info: The "length" property of the "getUTCHours" is 0 +description: The "length" property of the "getUTCHours" is 0 +---*/ if(Date.prototype.getUTCHours.hasOwnProperty("length") !== true){ $ERROR('#1: The getUTCHours has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getUTCHours.hasOwnProperty("length") !== true){ if(Date.prototype.getUTCHours.length !== 0){ $ERROR('#2: The "length" property of the getUTCHours is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T1.js index f3a6d38bb..f5270be7c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getUTCHours property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T2.js index 2c6be6fcf..80219e76d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T2.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 Date.prototype.getUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getUTCHours property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCHours.length !== false) { $ERROR('#1: The Date.prototype.getUTCHours.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getUTCHours.length !== false) { if (!Date.prototype.getUTCHours.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getUTCHours.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T3.js index 2f6373d3a..7fdab747e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.19/S15.9.5.19_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getUTCHours property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getUTCHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCHours.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getUTCHours) { $ERROR('#2: The Date.prototype.getUTCHours.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T1.js index 3e56c55ad..77d1fc0b3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_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. -/** - * The Date.prototype property "toString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "toString" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.toString; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.toString === x) { $ERROR('#1: The Date.prototype.toString has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T2.js index f1a5d6fba..965d8e366 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "toString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "toString" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toString === false) { $ERROR('#1: The Date.prototype.toString property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.toString === false) { if (Date.prototype.hasOwnProperty('toString')) { $FAIL('#2: The Date.prototype.toString property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T3.js index 489fe75e1..2beef2822 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_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. -/** - * The Date.prototype property "toString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "toString" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('toString')) { $ERROR('#1: The Date.prototype.toString property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.toString has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A2_T1.js index faa1123e6..6652fac77 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_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. -/** - * The "length" property of the "toString" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A2_T1.js - * @description The "length" property of the "toString" is 0 - */ +/*--- +info: The "length" property of the "toString" is 0 +description: The "length" property of the "toString" is 0 +---*/ if(Date.prototype.toString.hasOwnProperty("length") !== true){ $ERROR('#1: The toString has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.toString.hasOwnProperty("length") !== true){ if(Date.prototype.toString.length !== 0){ $ERROR('#2: The "length" property of the toString is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T1.js index fb4895618..eeec1689a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.toString property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T2.js index 74aaa12a0..d0b7e580f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T2.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 Date.prototype.toString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.toString property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toString.length !== false) { $ERROR('#1: The Date.prototype.toString.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.toString.length !== false) { if (!Date.prototype.toString.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.toString.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T3.js index 67524d6e0..1c8190499 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.2/S15.9.5.2_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.toString property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.toString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toString.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.toString) { $ERROR('#2: The Date.prototype.toString.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T1.js index c006aaa9f..7146b594d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_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. -/** - * The Date.prototype property "getMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getMinutes" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getMinutes; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getMinutes === x) { $ERROR('#1: The Date.prototype.getMinutes has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T2.js index e7c433356..a2f39cebf 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getMinutes" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getMinutes === false) { $ERROR('#1: The Date.prototype.getMinutes property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getMinutes === false) { if (Date.prototype.hasOwnProperty('getMinutes')) { $FAIL('#2: The Date.prototype.getMinutes property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T3.js index 6cb2fdffc..e0c10163c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_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. -/** - * The Date.prototype property "getMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getMinutes" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getMinutes')) { $ERROR('#1: The Date.prototype.getMinutes property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getMinutes has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A2_T1.js index 7c12101cb..53e3b061d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_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. -/** - * The "length" property of the "getMinutes" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A2_T1.js - * @description The "length" property of the "getMinutes" is 0 - */ +/*--- +info: The "length" property of the "getMinutes" is 0 +description: The "length" property of the "getMinutes" is 0 +---*/ if(Date.prototype.getMinutes.hasOwnProperty("length") !== true){ $ERROR('#1: The getMinutes has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getMinutes.hasOwnProperty("length") !== true){ if(Date.prototype.getMinutes.length !== 0){ $ERROR('#2: The "length" property of the getMinutes is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T1.js index b179bb4ea..dad760cb6 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T2.js index b5c9881d1..aa8d18919 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T2.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 Date.prototype.getMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getMinutes.length !== false) { $ERROR('#1: The Date.prototype.getMinutes.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getMinutes.length !== false) { if (!Date.prototype.getMinutes.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getMinutes.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T3.js index 720c89c3f..e99b4cc28 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.20/S15.9.5.20_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getMinutes.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getMinutes) { $ERROR('#2: The Date.prototype.getMinutes.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T1.js index a9815a7b1..a1434e0fe 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_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. -/** - * The Date.prototype property "getUTCMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getUTCMinutes" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getUTCMinutes; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getUTCMinutes === x) { $ERROR('#1: The Date.prototype.getUTCMinutes has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T2.js index e37b3ccd7..57315d4b3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getUTCMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getUTCMinutes" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCMinutes === false) { $ERROR('#1: The Date.prototype.getUTCMinutes property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getUTCMinutes === false) { if (Date.prototype.hasOwnProperty('getUTCMinutes')) { $FAIL('#2: The Date.prototype.getUTCMinutes property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T3.js index e4b9e14cf..54121666a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_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. -/** - * The Date.prototype property "getUTCMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getUTCMinutes" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getUTCMinutes')) { $ERROR('#1: The Date.prototype.getUTCMinutes property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getUTCMinutes has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A2_T1.js index bb81eb252..6287bad13 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_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. -/** - * The "length" property of the "getUTCMinutes" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A2_T1.js - * @description The "length" property of the "getUTCMinutes" is 0 - */ +/*--- +info: The "length" property of the "getUTCMinutes" is 0 +description: The "length" property of the "getUTCMinutes" is 0 +---*/ if(Date.prototype.getUTCMinutes.hasOwnProperty("length") !== true){ $ERROR('#1: The getUTCMinutes has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getUTCMinutes.hasOwnProperty("length") !== true){ if(Date.prototype.getUTCMinutes.length !== 0){ $ERROR('#2: The "length" property of the getUTCMinutes is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T1.js index 747dc26a1..28340ab78 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getUTCMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T2.js index cfc633fee..a03e616b2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T2.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 Date.prototype.getUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getUTCMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCMinutes.length !== false) { $ERROR('#1: The Date.prototype.getUTCMinutes.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getUTCMinutes.length !== false) { if (!Date.prototype.getUTCMinutes.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getUTCMinutes.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T3.js index 419a6d45c..1518f8587 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.21/S15.9.5.21_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getUTCMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getUTCMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCMinutes.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getUTCMinutes) { $ERROR('#2: The Date.prototype.getUTCMinutes.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T1.js index e2999bc32..c2ee4bb69 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_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. -/** - * The Date.prototype property "getSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getSeconds" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getSeconds; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getSeconds === x) { $ERROR('#1: The Date.prototype.getSeconds has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T2.js index f00746bd3..a0c3fafa2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getSeconds" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getSeconds === false) { $ERROR('#1: The Date.prototype.getSeconds property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getSeconds === false) { if (Date.prototype.hasOwnProperty('getSeconds')) { $FAIL('#2: The Date.prototype.getSeconds property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T3.js index 302a570b3..da38d6838 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_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. -/** - * The Date.prototype property "getSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getSeconds" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getSeconds')) { $ERROR('#1: The Date.prototype.getSeconds property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getSeconds has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A2_T1.js index 35dc678fa..d258f90c3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_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. -/** - * The "length" property of the "getSeconds" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A2_T1.js - * @description The "length" property of the "getSeconds" is 0 - */ +/*--- +info: The "length" property of the "getSeconds" is 0 +description: The "length" property of the "getSeconds" is 0 +---*/ if(Date.prototype.getSeconds.hasOwnProperty("length") !== true){ $ERROR('#1: The getSeconds has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getSeconds.hasOwnProperty("length") !== true){ if(Date.prototype.getSeconds.length !== 0){ $ERROR('#2: The "length" property of the getSeconds is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T1.js index daf06895d..b11769895 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T2.js index 83b659f12..3d5194e11 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T2.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 Date.prototype.getSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getSeconds.length !== false) { $ERROR('#1: The Date.prototype.getSeconds.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getSeconds.length !== false) { if (!Date.prototype.getSeconds.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getSeconds.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T3.js index b18859412..7a107e83b 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.22/S15.9.5.22_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getSeconds.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getSeconds) { $ERROR('#2: The Date.prototype.getSeconds.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T1.js index 0cdbf9427..8f7077c35 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_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. -/** - * The Date.prototype property "getUTCSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getUTCSeconds" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getUTCSeconds; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getUTCSeconds === x) { $ERROR('#1: The Date.prototype.getUTCSeconds has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T2.js index f5e7db5f4..b97a57367 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getUTCSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getUTCSeconds" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCSeconds === false) { $ERROR('#1: The Date.prototype.getUTCSeconds property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getUTCSeconds === false) { if (Date.prototype.hasOwnProperty('getUTCSeconds')) { $FAIL('#2: The Date.prototype.getUTCSeconds property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T3.js index ffe8be9b6..9f3401d1b 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_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. -/** - * The Date.prototype property "getUTCSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getUTCSeconds" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getUTCSeconds')) { $ERROR('#1: The Date.prototype.getUTCSeconds property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getUTCSeconds has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A2_T1.js index fc133e721..5ac80d903 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_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. -/** - * The "length" property of the "getUTCSeconds" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A2_T1.js - * @description The "length" property of the "getUTCSeconds" is 0 - */ +/*--- +info: The "length" property of the "getUTCSeconds" is 0 +description: The "length" property of the "getUTCSeconds" is 0 +---*/ if(Date.prototype.getUTCSeconds.hasOwnProperty("length") !== true){ $ERROR('#1: The getUTCSeconds has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getUTCSeconds.hasOwnProperty("length") !== true){ if(Date.prototype.getUTCSeconds.length !== 0){ $ERROR('#2: The "length" property of the getUTCSeconds is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T1.js index cc7476cae..f4c0b7732 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getUTCSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T2.js index dedb7c86d..9ce225632 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T2.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 Date.prototype.getUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getUTCSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCSeconds.length !== false) { $ERROR('#1: The Date.prototype.getUTCSeconds.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getUTCSeconds.length !== false) { if (!Date.prototype.getUTCSeconds.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getUTCSeconds.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T3.js index 04bc31c50..deb430eac 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.23/S15.9.5.23_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getUTCSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getUTCSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCSeconds.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getUTCSeconds) { $ERROR('#2: The Date.prototype.getUTCSeconds.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T1.js index fd166c2ea..6eb5437d3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_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. -/** - * The Date.prototype property "getMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getMilliseconds" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getMilliseconds; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getMilliseconds === x) { $ERROR('#1: The Date.prototype.getMilliseconds has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T2.js index b2b37d417..dd0bcbbe1 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getMilliseconds" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getMilliseconds === false) { $ERROR('#1: The Date.prototype.getMilliseconds property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getMilliseconds === false) { if (Date.prototype.hasOwnProperty('getMilliseconds')) { $FAIL('#2: The Date.prototype.getMilliseconds property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T3.js index a0610a781..384db9e06 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_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. -/** - * The Date.prototype property "getMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getMilliseconds" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getMilliseconds')) { $ERROR('#1: The Date.prototype.getMilliseconds property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getMilliseconds has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A2_T1.js index 2383ea3d7..da2a5fe4d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_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. -/** - * The "length" property of the "getMilliseconds" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A2_T1.js - * @description The "length" property of the "getMilliseconds" is 0 - */ +/*--- +info: The "length" property of the "getMilliseconds" is 0 +description: The "length" property of the "getMilliseconds" is 0 +---*/ if(Date.prototype.getMilliseconds.hasOwnProperty("length") !== true){ $ERROR('#1: The getMilliseconds has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getMilliseconds.hasOwnProperty("length") !== true){ if(Date.prototype.getMilliseconds.length !== 0){ $ERROR('#2: The "length" property of the getMilliseconds is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T1.js index 9b79b4ac0..48a76dbd3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T2.js index 04d18b9f8..00dc8c7c4 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T2.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 Date.prototype.getMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getMilliseconds.length !== false) { $ERROR('#1: The Date.prototype.getMilliseconds.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getMilliseconds.length !== false) { if (!Date.prototype.getMilliseconds.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getMilliseconds.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T3.js index d124f847f..af6fb37fd 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.24/S15.9.5.24_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getMilliseconds.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getMilliseconds) { $ERROR('#2: The Date.prototype.getMilliseconds.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T1.js index bccbfde14..f74fff32d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T1.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getUTCMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: > + The Date.prototype property "getUTCMilliseconds" has { DontEnum } + attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getUTCMilliseconds; if(x === 1) @@ -16,5 +16,3 @@ else if (Date.prototype.getUTCMilliseconds === x) { $ERROR('#1: The Date.prototype.getUTCMilliseconds has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T2.js index 17c840b02..70234415c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T2.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 Date.prototype property "getUTCMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: > + The Date.prototype property "getUTCMilliseconds" has { DontEnum } + attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCMilliseconds === false) { $ERROR('#1: The Date.prototype.getUTCMilliseconds property has not the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getUTCMilliseconds === false) { if (Date.prototype.hasOwnProperty('getUTCMilliseconds')) { $FAIL('#2: The Date.prototype.getUTCMilliseconds property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T3.js index ead8d5d01..e762849d3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getUTCMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype property "getUTCMilliseconds" has { DontEnum } + attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getUTCMilliseconds')) { $ERROR('#1: The Date.prototype.getUTCMilliseconds property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getUTCMilliseconds has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A2_T1.js index e2889842f..665e32931 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_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. -/** - * The "length" property of the "getUTCMilliseconds" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A2_T1.js - * @description The "length" property of the "getUTCMilliseconds" is 0 - */ +/*--- +info: The "length" property of the "getUTCMilliseconds" is 0 +description: The "length" property of the "getUTCMilliseconds" is 0 +---*/ if(Date.prototype.getUTCMilliseconds.hasOwnProperty("length") !== true){ $ERROR('#1: The getUTCMilliseconds has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getUTCMilliseconds.hasOwnProperty("length") !== true){ if(Date.prototype.getUTCMilliseconds.length !== 0){ $ERROR('#2: The "length" property of the getUTCMilliseconds is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T1.js index 5611af8ca..b15ccc116 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getUTCMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T2.js index 0e7f61c4d..32780f266 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T2.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 Date.prototype.getUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getUTCMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getUTCMilliseconds.length !== false) { $ERROR('#1: The Date.prototype.getUTCMilliseconds.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getUTCMilliseconds.length !== false) { if (!Date.prototype.getUTCMilliseconds.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getUTCMilliseconds.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T3.js index 7ada8bdbf..653e51e45 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.25/S15.9.5.25_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getUTCMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getUTCMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getUTCMilliseconds.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getUTCMilliseconds) { $ERROR('#2: The Date.prototype.getUTCMilliseconds.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T1.js index 603d2b7ef..bf4a89174 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T1.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getTimezoneOffset" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: > + The Date.prototype property "getTimezoneOffset" has { DontEnum } + attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getTimezoneOffset; if(x === 1) @@ -16,5 +16,3 @@ else if (Date.prototype.getTimezoneOffset === x) { $ERROR('#1: The Date.prototype.getTimezoneOffset has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T2.js index b212690de..955151065 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T2.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 Date.prototype property "getTimezoneOffset" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: > + The Date.prototype property "getTimezoneOffset" has { DontEnum } + attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getTimezoneOffset === false) { $ERROR('#1: The Date.prototype.getTimezoneOffset property has not the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getTimezoneOffset === false) { if (Date.prototype.hasOwnProperty('getTimezoneOffset')) { $FAIL('#2: The Date.prototype.getTimezoneOffset property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T3.js index fb4a98de9..662df8ce1 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getTimezoneOffset" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype property "getTimezoneOffset" has { DontEnum } + attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getTimezoneOffset')) { $ERROR('#1: The Date.prototype.getTimezoneOffset property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getTimezoneOffset has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A2_T1.js index ef197f19f..d3d986715 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_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. -/** - * The "length" property of the "getTimezoneOffset" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A2_T1.js - * @description The "length" property of the "getTimezoneOffset" is 0 - */ +/*--- +info: The "length" property of the "getTimezoneOffset" is 0 +description: The "length" property of the "getTimezoneOffset" is 0 +---*/ if(Date.prototype.getTimezoneOffset.hasOwnProperty("length") !== true){ $ERROR('#1: The getTimezoneOffset has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getTimezoneOffset.hasOwnProperty("length") !== true){ if(Date.prototype.getTimezoneOffset.length !== 0){ $ERROR('#2: The "length" property of the getTimezoneOffset is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T1.js index 722b2f96e..cba44a18e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getTimezoneOffset property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getTimezoneOffset property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T2.js index f17cfd443..37caf0fee 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T2.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 Date.prototype.getTimezoneOffset property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getTimezoneOffset property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getTimezoneOffset.length !== false) { $ERROR('#1: The Date.prototype.getTimezoneOffset.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getTimezoneOffset.length !== false) { if (!Date.prototype.getTimezoneOffset.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getTimezoneOffset.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T3.js index 74d6c59a8..323fc2746 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getTimezoneOffset property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.26/S15.9.5.26_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getTimezoneOffset property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getTimezoneOffset.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getTimezoneOffset.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getTimezoneOffset) { $ERROR('#2: The Date.prototype.getTimezoneOffset.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T1.js index 4f7f05782..242c295c1 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_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. -/** - * The Date.prototype property "setTime" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setTime" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setTime; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setTime === x) { $ERROR('#1: The Date.prototype.setTime has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T2.js index 51ac9d33f..763a417b7 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setTime" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setTime" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setTime === false) { $ERROR('#1: The Date.prototype.setTime property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setTime === false) { if (Date.prototype.hasOwnProperty('setTime')) { $FAIL('#2: The Date.prototype.setTime property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T3.js index 724a44920..06ddbe421 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_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. -/** - * The Date.prototype property "setTime" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setTime" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setTime')) { $ERROR('#1: The Date.prototype.setTime property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setTime has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A2_T1.js index eaa2be63e..5449bfcbe 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_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. -/** - * The "length" property of the "setTime" is 1 - * - * @path ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A2_T1.js - * @description The "length" property of the "setTime" is 1 - */ +/*--- +info: The "length" property of the "setTime" is 1 +description: The "length" property of the "setTime" is 1 +---*/ if(Date.prototype.setTime.hasOwnProperty("length") !== true){ $ERROR('#1: The setTime has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setTime.hasOwnProperty("length") !== true){ if(Date.prototype.setTime.length !== 1){ $ERROR('#2: The "length" property of the setTime is 1'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T1.js index f6ed13a31..dbfb43352 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setTime property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T2.js index 81e908366..b9ff4f940 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T2.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 Date.prototype.setTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setTime property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setTime.length !== false) { $ERROR('#1: The Date.prototype.setTime.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setTime.length !== false) { if (!Date.prototype.setTime.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setTime.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T3.js index 8b8076aa2..a0dd23da2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.27/S15.9.5.27_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setTime property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setTime.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setTime.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setTime) { $ERROR('#2: The Date.prototype.setTime.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T1.js index 5cef7c9d2..331a0f6b3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_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. -/** - * The Date.prototype property "setMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setMilliseconds" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setMilliseconds; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setMilliseconds === x) { $ERROR('#1: The Date.prototype.setMilliseconds has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T2.js index 0a2bd573c..4010f048e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setMilliseconds" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setMilliseconds === false) { $ERROR('#1: The Date.prototype.setMilliseconds property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setMilliseconds === false) { if (Date.prototype.hasOwnProperty('setMilliseconds')) { $FAIL('#2: The Date.prototype.setMilliseconds property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T3.js index 0a971a540..be9766ff3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_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. -/** - * The Date.prototype property "setMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setMilliseconds" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setMilliseconds')) { $ERROR('#1: The Date.prototype.setMilliseconds property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setMilliseconds has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A2_T1.js index dc0f0de0f..e46998d20 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_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. -/** - * The "length" property of the "setMilliseconds" is 1 - * - * @path ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A2_T1.js - * @description The "length" property of the "setMilliseconds" is 1 - */ +/*--- +info: The "length" property of the "setMilliseconds" is 1 +description: The "length" property of the "setMilliseconds" is 1 +---*/ if(Date.prototype.setMilliseconds.hasOwnProperty("length") !== true){ $ERROR('#1: The setMilliseconds has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setMilliseconds.hasOwnProperty("length") !== true){ if(Date.prototype.setMilliseconds.length !== 1){ $ERROR('#2: The "length" property of the setMilliseconds is 1'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T1.js index 11e36f7fc..e3061ac23 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T2.js index 544966622..ab5b33cec 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T2.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 Date.prototype.setMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setMilliseconds.length !== false) { $ERROR('#1: The Date.prototype.setMilliseconds.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setMilliseconds.length !== false) { if (!Date.prototype.setMilliseconds.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setMilliseconds.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T3.js index 5f8bcfa38..fe622c843 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.28/S15.9.5.28_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setMilliseconds.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setMilliseconds) { $ERROR('#2: The Date.prototype.setMilliseconds.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T1.js index 9449b1a74..e358cd0a6 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T1.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setUTCMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: > + The Date.prototype property "setUTCMilliseconds" has { DontEnum } + attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setUTCMilliseconds; if(x === 1) @@ -16,5 +16,3 @@ else if (Date.prototype.setUTCMilliseconds === x) { $ERROR('#1: The Date.prototype.setUTCMilliseconds has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T2.js index 9560e635b..fdf36a820 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T2.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 Date.prototype property "setUTCMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: > + The Date.prototype property "setUTCMilliseconds" has { DontEnum } + attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCMilliseconds === false) { $ERROR('#1: The Date.prototype.setUTCMilliseconds property has not the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setUTCMilliseconds === false) { if (Date.prototype.hasOwnProperty('setUTCMilliseconds')) { $FAIL('#2: The Date.prototype.setUTCMilliseconds property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T3.js index 9a06d1829..b183acfcd 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setUTCMilliseconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype property "setUTCMilliseconds" has { DontEnum } + attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setUTCMilliseconds')) { $ERROR('#1: The Date.prototype.setUTCMilliseconds property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setUTCMilliseconds has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A2_T1.js index f511aab54..8f0dc905d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_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. -/** - * The "length" property of the "setUTCMilliseconds" is 1 - * - * @path ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A2_T1.js - * @description The "length" property of the "setUTCMilliseconds" is 1 - */ +/*--- +info: The "length" property of the "setUTCMilliseconds" is 1 +description: The "length" property of the "setUTCMilliseconds" is 1 +---*/ if(Date.prototype.setUTCMilliseconds.hasOwnProperty("length") !== true){ $ERROR('#1: The setUTCMilliseconds has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setUTCMilliseconds.hasOwnProperty("length") !== true){ if(Date.prototype.setUTCMilliseconds.length !== 1){ $ERROR('#2: The "length" property of the setUTCMilliseconds is 1'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T1.js index 34cc24453..31a6ea904 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setUTCMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T2.js index 50230b077..0323b3c50 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T2.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 Date.prototype.setUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setUTCMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCMilliseconds.length !== false) { $ERROR('#1: The Date.prototype.setUTCMilliseconds.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setUTCMilliseconds.length !== false) { if (!Date.prototype.setUTCMilliseconds.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setUTCMilliseconds.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T3.js index 89742c8da..20c45f75c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCMilliseconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.29/S15.9.5.29_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setUTCMilliseconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setUTCMilliseconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCMilliseconds.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setUTCMilliseconds) { $ERROR('#2: The Date.prototype.setUTCMilliseconds.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T1.js index 53ef69842..a606c73d9 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_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. -/** - * The Date.prototype property "toDateString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "toDateString" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.toDateString; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.toDateString === x) { $ERROR('#1: The Date.prototype.toDateString has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T2.js index 19a98a7b6..94b25b069 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "toDateString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "toDateString" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toDateString === false) { $ERROR('#1: The Date.prototype.toDateString property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.toDateString === false) { if (Date.prototype.hasOwnProperty('toDateString')) { $FAIL('#2: The Date.prototype.toDateString property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T3.js index 49874ffa0..b88e1d44d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_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. -/** - * The Date.prototype property "toDateString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "toDateString" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('toDateString')) { $ERROR('#1: The Date.prototype.toDateString property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.toDateString has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A2_T1.js index 600439362..8841c14a6 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_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. -/** - * The "length" property of the "toDateString" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A2_T1.js - * @description The "length" property of the "toDateString" is 0 - */ +/*--- +info: The "length" property of the "toDateString" is 0 +description: The "length" property of the "toDateString" is 0 +---*/ if(Date.prototype.toDateString.hasOwnProperty("length") !== true){ $ERROR('#1: The toDateString has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.toDateString.hasOwnProperty("length") !== true){ if(Date.prototype.toDateString.length !== 0){ $ERROR('#2: The "length" property of the toDateString is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T1.js index 2c9de6cdc..306a5074d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.toDateString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T2.js index 83e794a08..80742f009 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T2.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 Date.prototype.toDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.toDateString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toDateString.length !== false) { $ERROR('#1: The Date.prototype.toDateString.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.toDateString.length !== false) { if (!Date.prototype.toDateString.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.toDateString.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T3.js index abaf2c2c2..7b6641a3f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.3/S15.9.5.3_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.toDateString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.toDateString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toDateString.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.toDateString) { $ERROR('#2: The Date.prototype.toDateString.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T1.js index 76a6aeb49..bc7b99a6b 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_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. -/** - * The Date.prototype property "setSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setSeconds" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setSeconds; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setSeconds === x) { $ERROR('#1: The Date.prototype.setSeconds has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T2.js index 4f691eaf9..c2c734317 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setSeconds" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setSeconds === false) { $ERROR('#1: The Date.prototype.setSeconds property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setSeconds === false) { if (Date.prototype.hasOwnProperty('setSeconds')) { $FAIL('#2: The Date.prototype.setSeconds property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T3.js index 350a993d3..2dfd3da64 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_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. -/** - * The Date.prototype property "setSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setSeconds" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setSeconds')) { $ERROR('#1: The Date.prototype.setSeconds property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setSeconds has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A2_T1.js index a87097cd4..ddde8e9d5 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_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. -/** - * The "length" property of the "setSeconds" is 2 - * - * @path ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A2_T1.js - * @description The "length" property of the "setSeconds" is 2 - */ +/*--- +info: The "length" property of the "setSeconds" is 2 +description: The "length" property of the "setSeconds" is 2 +---*/ if(Date.prototype.setSeconds.hasOwnProperty("length") !== true){ $ERROR('#1: The setSeconds has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setSeconds.hasOwnProperty("length") !== true){ if(Date.prototype.setSeconds.length !== 2){ $ERROR('#2: The "length" property of the setSeconds is 2'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T1.js index 26aa6c79d..41ed1b3ee 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T2.js index 19b6442b8..25a3552db 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T2.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 Date.prototype.setSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setSeconds.length !== false) { $ERROR('#1: The Date.prototype.setSeconds.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setSeconds.length !== false) { if (!Date.prototype.setSeconds.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setSeconds.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T3.js index eed00a549..ea9f8090a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.30/S15.9.5.30_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setSeconds.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setSeconds) { $ERROR('#2: The Date.prototype.setSeconds.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T1.js index 2f34d162d..85dfcc3e2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_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. -/** - * The Date.prototype property "setUTCSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setUTCSeconds" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setUTCSeconds; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setUTCSeconds === x) { $ERROR('#1: The Date.prototype.setUTCSeconds has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T2.js index d6173a2f2..7bb3599e5 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setUTCSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setUTCSeconds" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCSeconds === false) { $ERROR('#1: The Date.prototype.setUTCSeconds property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setUTCSeconds === false) { if (Date.prototype.hasOwnProperty('setUTCSeconds')) { $FAIL('#2: The Date.prototype.setUTCSeconds property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T3.js index 5b32a6c7e..ec3636089 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_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. -/** - * The Date.prototype property "setUTCSeconds" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setUTCSeconds" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setUTCSeconds')) { $ERROR('#1: The Date.prototype.setUTCSeconds property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setUTCSeconds has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A2_T1.js index 8bd48c9bd..affeba772 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_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. -/** - * The "length" property of the "setUTCSeconds" is 2 - * - * @path ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A2_T1.js - * @description The "length" property of the "setUTCSeconds" is 2 - */ +/*--- +info: The "length" property of the "setUTCSeconds" is 2 +description: The "length" property of the "setUTCSeconds" is 2 +---*/ if(Date.prototype.setUTCSeconds.hasOwnProperty("length") !== true){ $ERROR('#1: The setUTCSeconds has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setUTCSeconds.hasOwnProperty("length") !== true){ if(Date.prototype.setUTCSeconds.length !== 2){ $ERROR('#2: The "length" property of the setUTCSeconds is 2'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T1.js index 0c7459eca..d456f6aac 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setUTCSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T2.js index d225fae1c..b32c4e92e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T2.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 Date.prototype.setUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setUTCSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCSeconds.length !== false) { $ERROR('#1: The Date.prototype.setUTCSeconds.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setUTCSeconds.length !== false) { if (!Date.prototype.setUTCSeconds.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setUTCSeconds.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T3.js index 4193461f1..d759ca4d2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCSeconds property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.31/S15.9.5.31_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setUTCSeconds property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setUTCSeconds.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCSeconds.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setUTCSeconds) { $ERROR('#2: The Date.prototype.setUTCSeconds.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T1.js index 018978f0e..6c9eed49e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_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. -/** - * The Date.prototype property "setMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setMinutes" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setMinutes; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setMinutes === x) { $ERROR('#1: The Date.prototype.setMinutes has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T2.js index 332164955..1a33a24c4 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setMinutes" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setMinutes === false) { $ERROR('#1: The Date.prototype.setMinutes property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setMinutes === false) { if (Date.prototype.hasOwnProperty('setMinutes')) { $FAIL('#2: The Date.prototype.setMinutes property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T3.js index 87d29833a..a3b63f7e7 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_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. -/** - * The Date.prototype property "setMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setMinutes" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setMinutes')) { $ERROR('#1: The Date.prototype.setMinutes property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setMinutes has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A2_T1.js index 3a1233585..2817d8342 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_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. -/** - * The "length" property of the "setMinutes" is 3 - * - * @path ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A2_T1.js - * @description The "length" property of the "setMinutes" is 3 - */ +/*--- +info: The "length" property of the "setMinutes" is 3 +description: The "length" property of the "setMinutes" is 3 +---*/ if(Date.prototype.setMinutes.hasOwnProperty("length") !== true){ $ERROR('#1: The setMinutes has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setMinutes.hasOwnProperty("length") !== true){ if(Date.prototype.setMinutes.length !== 3){ $ERROR('#2: The "length" property of the setMinutes is 3'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T1.js index 690c807ff..563c18e7c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T2.js index cb8151654..3c440505b 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T2.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 Date.prototype.setMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setMinutes.length !== false) { $ERROR('#1: The Date.prototype.setMinutes.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setMinutes.length !== false) { if (!Date.prototype.setMinutes.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setMinutes.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T3.js index e14c49365..74fdeb46f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.32/S15.9.5.32_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setMinutes.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setMinutes) { $ERROR('#2: The Date.prototype.setMinutes.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T1.js index da4fcf04d..d31a0fa92 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_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. -/** - * The Date.prototype property "setUTCMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setUTCMinutes" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setUTCMinutes; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setUTCMinutes === x) { $ERROR('#1: The Date.prototype.setUTCMinutes has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T2.js index ca7484c7d..5bdd9fb61 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setUTCMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setUTCMinutes" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCMinutes === false) { $ERROR('#1: The Date.prototype.setUTCMinutes property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setUTCMinutes === false) { if (Date.prototype.hasOwnProperty('setUTCMinutes')) { $FAIL('#2: The Date.prototype.setUTCMinutes property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T3.js index 8966e3b29..5a23703d5 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_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. -/** - * The Date.prototype property "setUTCMinutes" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setUTCMinutes" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setUTCMinutes')) { $ERROR('#1: The Date.prototype.setUTCMinutes property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setUTCMinutes has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A2_T1.js index d383a4150..3963793de 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_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. -/** - * The "length" property of the "setUTCMinutes" is 3 - * - * @path ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A2_T1.js - * @description The "length" property of the "setUTCMinutes" is 3 - */ +/*--- +info: The "length" property of the "setUTCMinutes" is 3 +description: The "length" property of the "setUTCMinutes" is 3 +---*/ if(Date.prototype.setUTCMinutes.hasOwnProperty("length") !== true){ $ERROR('#1: The setUTCMinutes has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setUTCMinutes.hasOwnProperty("length") !== true){ if(Date.prototype.setUTCMinutes.length !== 3){ $ERROR('#2: The "length" property of the setUTCMinutes is 3'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T1.js index e3f400bb2..7a6dd8638 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setUTCMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T2.js index 56bf360f4..4719b7f75 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T2.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 Date.prototype.setUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setUTCMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCMinutes.length !== false) { $ERROR('#1: The Date.prototype.setUTCMinutes.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setUTCMinutes.length !== false) { if (!Date.prototype.setUTCMinutes.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setUTCMinutes.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T3.js index 9b3046cf2..d5c1889f7 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCMinutes property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.33/S15.9.5.33_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setUTCMinutes property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setUTCMinutes.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCMinutes.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setUTCMinutes) { $ERROR('#2: The Date.prototype.setUTCMinutes.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T1.js index a37436263..ac63ad39e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_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. -/** - * The Date.prototype property "setHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setHours" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setHours; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setHours === x) { $ERROR('#1: The Date.prototype.setHours has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T2.js index 4338fe4d1..3ba248942 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setHours" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setHours === false) { $ERROR('#1: The Date.prototype.setHours property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setHours === false) { if (Date.prototype.hasOwnProperty('setHours')) { $FAIL('#2: The Date.prototype.setHours property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T3.js index 9d7b77ccf..16678d325 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_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. -/** - * The Date.prototype property "setHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setHours" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setHours')) { $ERROR('#1: The Date.prototype.setHours property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setHours has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A2_T1.js index c8cdf8d18..5958ef728 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_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. -/** - * The "length" property of the "setHours" is 4 - * - * @path ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A2_T1.js - * @description The "length" property of the "setHours" is 4 - */ +/*--- +info: The "length" property of the "setHours" is 4 +description: The "length" property of the "setHours" is 4 +---*/ if(Date.prototype.setHours.hasOwnProperty("length") !== true){ $ERROR('#1: The setHours has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setHours.hasOwnProperty("length") !== true){ if(Date.prototype.setHours.length !== 4){ $ERROR('#2: The "length" property of the setHours is 4'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T1.js index 36a1f2beb..42f99aa3f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setHours property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T2.js index 3aa14f87f..14d2bc7a6 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T2.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 Date.prototype.setHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setHours property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setHours.length !== false) { $ERROR('#1: The Date.prototype.setHours.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setHours.length !== false) { if (!Date.prototype.setHours.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setHours.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T3.js index 2b1e1170a..ceaa30068 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.34/S15.9.5.34_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setHours property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setHours.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setHours) { $ERROR('#2: The Date.prototype.setHours.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T1.js index 14eb1e938..2f68a3b72 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_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. -/** - * The Date.prototype property "setUTCHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setUTCHours" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setUTCHours; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setUTCHours === x) { $ERROR('#1: The Date.prototype.setUTCHours has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T2.js index 48ae1293e..3fe6cc4ca 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setUTCHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setUTCHours" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCHours === false) { $ERROR('#1: The Date.prototype.setUTCHours property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setUTCHours === false) { if (Date.prototype.hasOwnProperty('setUTCHours')) { $FAIL('#2: The Date.prototype.setUTCHours property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T3.js index 84a291371..e777d3192 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_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. -/** - * The Date.prototype property "setUTCHours" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setUTCHours" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setUTCHours')) { $ERROR('#1: The Date.prototype.setUTCHours property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setUTCHours has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A2_T1.js index ae7c776ec..c90705c08 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_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. -/** - * The "length" property of the "setUTCHours" is 4 - * - * @path ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A2_T1.js - * @description The "length" property of the "setUTCHours" is 4 - */ +/*--- +info: The "length" property of the "setUTCHours" is 4 +description: The "length" property of the "setUTCHours" is 4 +---*/ if(Date.prototype.setUTCHours.hasOwnProperty("length") !== true){ $ERROR('#1: The setUTCHours has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setUTCHours.hasOwnProperty("length") !== true){ if(Date.prototype.setUTCHours.length !== 4){ $ERROR('#2: The "length" property of the setUTCHours is 4'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T1.js index 4a91fbd99..a603d05ed 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setUTCHours property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T2.js index 58aa9d005..02bb688c8 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T2.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 Date.prototype.setUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setUTCHours property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCHours.length !== false) { $ERROR('#1: The Date.prototype.setUTCHours.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setUTCHours.length !== false) { if (!Date.prototype.setUTCHours.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setUTCHours.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T3.js index ab008bb30..b2f9eff15 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCHours property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.35/S15.9.5.35_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setUTCHours property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setUTCHours.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCHours.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setUTCHours) { $ERROR('#2: The Date.prototype.setUTCHours.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T1.js index 6fbe7aafb..e4951e30a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_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. -/** - * The Date.prototype property "setDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setDate" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setDate; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setDate === x) { $ERROR('#1: The Date.prototype.setDate has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T2.js index 894a3c5aa..0e908308f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setDate" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setDate === false) { $ERROR('#1: The Date.prototype.setDate property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setDate === false) { if (Date.prototype.hasOwnProperty('setDate')) { $FAIL('#2: The Date.prototype.setDate property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T3.js index b18f38eca..dec68f72d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_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. -/** - * The Date.prototype property "setDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setDate" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setDate')) { $ERROR('#1: The Date.prototype.setDate property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setDate has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A2_T1.js index ebbc2615c..5e09915a0 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_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. -/** - * The "length" property of the "setDate" is 1 - * - * @path ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A2_T1.js - * @description The "length" property of the "setDate" is 1 - */ +/*--- +info: The "length" property of the "setDate" is 1 +description: The "length" property of the "setDate" is 1 +---*/ if(Date.prototype.setDate.hasOwnProperty("length") !== true){ $ERROR('#1: The setDate has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setDate.hasOwnProperty("length") !== true){ if(Date.prototype.setDate.length !== 1){ $ERROR('#2: The "length" property of the setDate is 1'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T1.js index 8b887aee8..b96326408 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setDate property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T2.js index 9c04e1411..1a5f6c8e0 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T2.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 Date.prototype.setDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setDate property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setDate.length !== false) { $ERROR('#1: The Date.prototype.setDate.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setDate.length !== false) { if (!Date.prototype.setDate.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setDate.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T3.js index 26d92540e..08d357bfd 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.36/S15.9.5.36_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setDate property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setDate.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setDate) { $ERROR('#2: The Date.prototype.setDate.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T1.js index 617573371..806d05d89 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_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. -/** - * The Date.prototype property "setUTCDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setUTCDate" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setUTCDate; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setUTCDate === x) { $ERROR('#1: The Date.prototype.setUTCDate has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T2.js index d58be542b..cd2953813 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setUTCDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setUTCDate" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCDate === false) { $ERROR('#1: The Date.prototype.setUTCDate property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setUTCDate === false) { if (Date.prototype.hasOwnProperty('setUTCDate')) { $FAIL('#2: The Date.prototype.setUTCDate property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T3.js index cfb8e21e8..3b1f0c8b4 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_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. -/** - * The Date.prototype property "setUTCDate" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setUTCDate" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setUTCDate')) { $ERROR('#1: The Date.prototype.setUTCDate property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setUTCDate has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A2_T1.js index d4bb55a7b..9672970d6 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_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. -/** - * The "length" property of the "setUTCDate" is 1 - * - * @path ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A2_T1.js - * @description The "length" property of the "setUTCDate" is 1 - */ +/*--- +info: The "length" property of the "setUTCDate" is 1 +description: The "length" property of the "setUTCDate" is 1 +---*/ if(Date.prototype.setUTCDate.hasOwnProperty("length") !== true){ $ERROR('#1: The setUTCDate has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setUTCDate.hasOwnProperty("length") !== true){ if(Date.prototype.setUTCDate.length !== 1){ $ERROR('#2: The "length" property of the setUTCDate is 1'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T1.js index c524ec87e..d9e5b3ee4 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setUTCDate property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T2.js index 39582f3df..5c509af1d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T2.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 Date.prototype.setUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setUTCDate property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCDate.length !== false) { $ERROR('#1: The Date.prototype.setUTCDate.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setUTCDate.length !== false) { if (!Date.prototype.setUTCDate.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setUTCDate.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T3.js index f67320131..79724bde5 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCDate property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.37/S15.9.5.37_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setUTCDate property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setUTCDate.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCDate.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setUTCDate) { $ERROR('#2: The Date.prototype.setUTCDate.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T1.js index f2be81b67..85955bd18 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_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. -/** - * The Date.prototype property "setMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setMonth" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setMonth; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setMonth === x) { $ERROR('#1: The Date.prototype.setMonth has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T2.js index 139e310a8..b69a2dfd9 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setMonth" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setMonth === false) { $ERROR('#1: The Date.prototype.setMonth property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setMonth === false) { if (Date.prototype.hasOwnProperty('setMonth')) { $FAIL('#2: The Date.prototype.setMonth property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T3.js index 162a054cf..be7e53d72 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_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. -/** - * The Date.prototype property "setMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setMonth" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setMonth')) { $ERROR('#1: The Date.prototype.setMonth property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setMonth has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A2_T1.js index 92b0536b4..a1823910d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_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. -/** - * The "length" property of the "setMonth" is 2 - * - * @path ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A2_T1.js - * @description The "length" property of the "setMonth" is 2 - */ +/*--- +info: The "length" property of the "setMonth" is 2 +description: The "length" property of the "setMonth" is 2 +---*/ if(Date.prototype.setMonth.hasOwnProperty("length") !== true){ $ERROR('#1: The setMonth has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setMonth.hasOwnProperty("length") !== true){ if(Date.prototype.setMonth.length !== 2){ $ERROR('#2: The "length" property of the setMonth is 2'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T1.js index 95f5e6e4d..e5162f4b4 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T2.js index 748d8c0d8..976dd2c0d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T2.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 Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setMonth.length !== false) { $ERROR('#1: The Date.prototype.setMonth.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setMonth.length !== false) { if (!Date.prototype.setMonth.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setMonth.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T3.js index 44dbf4120..8be8f7366 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.38/S15.9.5.38_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setMonth.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setMonth) { $ERROR('#2: The Date.prototype.setMonth.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T1.js index cda7834d4..96b599421 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_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. -/** - * The Date.prototype property "setUTCMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setUTCMonth" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setUTCMonth; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setUTCMonth === x) { $ERROR('#1: The Date.prototype.setUTCMonth has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T2.js index 7410ef8df..1acad798f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setUTCMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setUTCMonth" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCMonth === false) { $ERROR('#1: The Date.prototype.setUTCMonth property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setUTCMonth === false) { if (Date.prototype.hasOwnProperty('setUTCMonth')) { $FAIL('#2: The Date.prototype.setUTCMonth property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T3.js index d4903506c..f776df416 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_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. -/** - * The Date.prototype property "setUTCMonth" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setUTCMonth" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setUTCMonth')) { $ERROR('#1: The Date.prototype.setUTCMonth property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setUTCMonth has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A2_T1.js index ca7e80273..57281bd02 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_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. -/** - * The "length" property of the "setUTCMonth" is 2 - * - * @path ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A2_T1.js - * @description The "length" property of the "setUTCMonth" is 2 - */ +/*--- +info: The "length" property of the "setUTCMonth" is 2 +description: The "length" property of the "setUTCMonth" is 2 +---*/ if(Date.prototype.setUTCMonth.hasOwnProperty("length") !== true){ $ERROR('#1: The setUTCMonth has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setUTCMonth.hasOwnProperty("length") !== true){ if(Date.prototype.setUTCMonth.length !== 2){ $ERROR('#2: The "length" property of the setUTCMonth is 2'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T1.js index 83b94e76b..678a8a6bb 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setUTCMonth property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T2.js index e136c348c..5c848b07a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T2.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 Date.prototype.setUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setUTCMonth property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCMonth.length !== false) { $ERROR('#1: The Date.prototype.setUTCMonth.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setUTCMonth.length !== false) { if (!Date.prototype.setUTCMonth.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setUTCMonth.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T3.js index ae997c7a6..a772ce07d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.39/S15.9.5.39_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setUTCMonth property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setUTCMonth.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCMonth.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setUTCMonth) { $ERROR('#2: The Date.prototype.setUTCMonth.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T1.js index 2ccd4cd33..878511b6c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_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. -/** - * The Date.prototype property "toTimeString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "toTimeString" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.toTimeString; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.toTimeString === x) { $ERROR('#1: The Date.prototype.toTimeString has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T2.js index 34b5d5e9b..2867c22a2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "toTimeString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "toTimeString" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toTimeString === false) { $ERROR('#1: The Date.prototype.toTimeString property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.toTimeString === false) { if (Date.prototype.hasOwnProperty('toTimeString')) { $FAIL('#2: The Date.prototype.toTimeString property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T3.js index f5347efe9..f8bc12fcd 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_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. -/** - * The Date.prototype property "toTimeString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "toTimeString" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('toTimeString')) { $ERROR('#1: The Date.prototype.toTimeString property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.toTimeString has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A2_T1.js index e715fc04c..da0425ed2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_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. -/** - * The "length" property of the "toTimeString" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A2_T1.js - * @description The "length" property of the "toTimeString" is 0 - */ +/*--- +info: The "length" property of the "toTimeString" is 0 +description: The "length" property of the "toTimeString" is 0 +---*/ if(Date.prototype.toTimeString.hasOwnProperty("length") !== true){ $ERROR('#1: The toTimeString has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.toTimeString.hasOwnProperty("length") !== true){ if(Date.prototype.toTimeString.length !== 0){ $ERROR('#2: The "length" property of the toTimeString is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T1.js index 95acec7b9..f618c3123 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.toTimeString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T2.js index 50b977a8f..9de3908b8 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T2.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 Date.prototype.toTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.toTimeString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toTimeString.length !== false) { $ERROR('#1: The Date.prototype.toTimeString.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.toTimeString.length !== false) { if (!Date.prototype.toTimeString.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.toTimeString.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T3.js index 06d643a03..4f30d278a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.4/S15.9.5.4_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.toTimeString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.toTimeString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toTimeString.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.toTimeString) { $ERROR('#2: The Date.prototype.toTimeString.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.40/15.9.5.40_1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.40/15.9.5.40_1.js index c863d9df7..7b4babe69 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.40/15.9.5.40_1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.40/15.9.5.40_1.js @@ -1,21 +1,23 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.40/15.9.5.40_1.js
- * @description Date.prototype.setFullYear - Date.prototype is itself an instance of Date
- */
-
-
-function testcase() {
- try {
- var origYear = Date.prototype.getFullYear();
- Date.prototype.setFullYear(2012);
- return Date.prototype.getFullYear()===2012;
- } finally {
- Date.prototype.setFullYear(origYear);
- }
-}
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.setFullYear - Date.prototype is itself an instance + of Date +includes: [runTestCase.js] +---*/ + +function testcase() { + try { + var origYear = Date.prototype.getFullYear(); + Date.prototype.setFullYear(2012); + return Date.prototype.getFullYear()===2012; + } finally { + Date.prototype.setFullYear(origYear); + } +} +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T1.js index eed001722..ce47ec558 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_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. -/** - * The Date.prototype property "setFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setFullYear" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setFullYear; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setFullYear === x) { $ERROR('#1: The Date.prototype.setFullYear has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T2.js index f47ef8e8e..ecbb80c3f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setFullYear" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setFullYear === false) { $ERROR('#1: The Date.prototype.setFullYear property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setFullYear === false) { if (Date.prototype.hasOwnProperty('setFullYear')) { $FAIL('#2: The Date.prototype.setFullYear property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T3.js index 269dff07b..84e711983 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_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. -/** - * The Date.prototype property "setFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setFullYear" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setFullYear')) { $ERROR('#1: The Date.prototype.setFullYear property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setFullYear has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A2_T1.js index 3252fcf51..4e0868f9d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_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. -/** - * The "length" property of the "setFullYear" is 3 - * - * @path ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A2_T1.js - * @description The "length" property of the "setFullYear" is 3 - */ +/*--- +info: The "length" property of the "setFullYear" is 3 +description: The "length" property of the "setFullYear" is 3 +---*/ if(Date.prototype.setFullYear.hasOwnProperty("length") !== true){ $ERROR('#1: The setFullYear has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setFullYear.hasOwnProperty("length") !== true){ if(Date.prototype.setFullYear.length !== 3){ $ERROR('#2: The "length" property of the setFullYear is 3'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T1.js index 3f98730ba..480eb2444 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T2.js index 0178e6d61..672cd63fc 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T2.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 Date.prototype.setFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setFullYear.length !== false) { $ERROR('#1: The Date.prototype.setFullYear.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setFullYear.length !== false) { if (!Date.prototype.setFullYear.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setFullYear.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T3.js index 81908fec2..aba07828f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.40/S15.9.5.40_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setFullYear.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setFullYear) { $ERROR('#2: The Date.prototype.setFullYear.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T1.js index 758701c31..8985e6396 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_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. -/** - * The Date.prototype property "setUTCFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "setUTCFullYear" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.setUTCFullYear; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.setUTCFullYear === x) { $ERROR('#1: The Date.prototype.setUTCFullYear has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T2.js index b0d1be915..8fef08fcb 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "setUTCFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "setUTCFullYear" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCFullYear === false) { $ERROR('#1: The Date.prototype.setUTCFullYear property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.setUTCFullYear === false) { if (Date.prototype.hasOwnProperty('setUTCFullYear')) { $FAIL('#2: The Date.prototype.setUTCFullYear property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T3.js index 05ac995a2..abde07230 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_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. -/** - * The Date.prototype property "setUTCFullYear" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "setUTCFullYear" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('setUTCFullYear')) { $ERROR('#1: The Date.prototype.setUTCFullYear property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.setUTCFullYear has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A2_T1.js index 7d606db98..36ed3762e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_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. -/** - * The "length" property of the "setUTCFullYear" is 3 - * - * @path ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A2_T1.js - * @description The "length" property of the "setUTCFullYear" is 3 - */ +/*--- +info: The "length" property of the "setUTCFullYear" is 3 +description: The "length" property of the "setUTCFullYear" is 3 +---*/ if(Date.prototype.setUTCFullYear.hasOwnProperty("length") !== true){ $ERROR('#1: The setUTCFullYear has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.setUTCFullYear.hasOwnProperty("length") !== true){ if(Date.prototype.setUTCFullYear.length !== 3){ $ERROR('#2: The "length" property of the setUTCFullYear is 3'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T1.js index 282dfc410..80620fdb2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.setUTCFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T2.js index 02e4d52eb..2c139b82b 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T2.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 Date.prototype.setUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.setUTCFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.setUTCFullYear.length !== false) { $ERROR('#1: The Date.prototype.setUTCFullYear.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.setUTCFullYear.length !== false) { if (!Date.prototype.setUTCFullYear.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.setUTCFullYear.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T3.js index bae4122b2..ba7bc73ed 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.setUTCFullYear property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.41/S15.9.5.41_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.setUTCFullYear property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.setUTCFullYear.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.setUTCFullYear.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.setUTCFullYear) { $ERROR('#2: The Date.prototype.setUTCFullYear.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T1.js index 0f212776e..72c5124b0 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_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. -/** - * The Date.prototype property "toUTCString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "toUTCString" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.toUTCString; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.toUTCString === x) { $ERROR('#1: The Date.prototype.toUTCString has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T2.js index 9c6e927ee..7deb84ffe 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "toUTCString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "toUTCString" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toUTCString === false) { $ERROR('#1: The Date.prototype.toUTCString property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.toUTCString === false) { if (Date.prototype.hasOwnProperty('toUTCString')) { $FAIL('#2: The Date.prototype.toUTCString property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T3.js index 6ff43e092..d8469590a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_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. -/** - * The Date.prototype property "toUTCString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "toUTCString" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('toUTCString')) { $ERROR('#1: The Date.prototype.toUTCString property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.toUTCString has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A2_T1.js index 4f001e19a..53ea3a74f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_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. -/** - * The "length" property of the "toUTCString" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A2_T1.js - * @description The "length" property of the "toUTCString" is 0 - */ +/*--- +info: The "length" property of the "toUTCString" is 0 +description: The "length" property of the "toUTCString" is 0 +---*/ if(Date.prototype.toUTCString.hasOwnProperty("length") !== true){ $ERROR('#1: The toUTCString has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.toUTCString.hasOwnProperty("length") !== true){ if(Date.prototype.toUTCString.length !== 0){ $ERROR('#2: The "length" property of the toUTCString is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T1.js index d20074d8b..4d1f85be5 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toUTCString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.toUTCString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T2.js index c25c220ed..1ef10449b 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T2.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 Date.prototype.toUTCString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.toUTCString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toUTCString.length !== false) { $ERROR('#1: The Date.prototype.toUTCString.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.toUTCString.length !== false) { if (!Date.prototype.toUTCString.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.toUTCString.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T3.js index cdd78f501..2113c32e1 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toUTCString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.42/S15.9.5.42_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.toUTCString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.toUTCString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toUTCString.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.toUTCString) { $ERROR('#2: The Date.prototype.toUTCString.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-10.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-10.js index c8e9efde3..9f0ade23a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-10.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-10.js @@ -1,33 +1,36 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-10.js
- * @description Date.prototype.toISOString - RangeError is not thrown when value of date is Date(1970, 0, -99999999, 0, 0, 0, 1), the time zone is UTC(0)
- */
-
-
-function testcase() {
- var timeZoneMinutes = new Date().getTimezoneOffset() * (-1);
- var date, dateStr;
-
- if (timeZoneMinutes > 0) {
- date = new Date(1970, 0, -99999999, 0, 0, 0, 1);
-
- try {
- date.toISOString();
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- } else {
- date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes + 60, 0, 1);
-
- dateStr = date.toISOString();
-
- return dateStr[dateStr.length - 1] === "Z";
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - RangeError is not thrown when value + of date is Date(1970, 0, -99999999, 0, 0, 0, 1), the time zone is + UTC(0) +includes: [runTestCase.js] +---*/ + +function testcase() { + var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); + var date, dateStr; + + if (timeZoneMinutes > 0) { + date = new Date(1970, 0, -99999999, 0, 0, 0, 1); + + try { + date.toISOString(); + return false; + } catch (e) { + return e instanceof RangeError; + } + } else { + date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes + 60, 0, 1); + + dateStr = date.toISOString(); + + return dateStr[dateStr.length - 1] === "Z"; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-11.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-11.js index 0c799c923..94445f085 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-11.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-11.js @@ -1,21 +1,24 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-11.js
- * @description Date.prototype.toISOString - RangeError is not thrown when value of date is Date(1970, 0, 100000001, 0, 0, 0, -1), the time zone is UTC(0)
- */
-
-
-function testcase() {
- var timeZoneMinutes = new Date().getTimezoneOffset() * (-1);
- var date, dateStr;
-
- date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes - 60, 0, -1);
- dateStr = date.toISOString();
-
- return dateStr[dateStr.length - 1] === "Z";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - RangeError is not thrown when value + of date is Date(1970, 0, 100000001, 0, 0, 0, -1), the time zone is + UTC(0) +includes: [runTestCase.js] +---*/ + +function testcase() { + var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); + var date, dateStr; + + date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes - 60, 0, -1); + dateStr = date.toISOString(); + + return dateStr[dateStr.length - 1] === "Z"; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-12.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-12.js index 26fe670d6..80d0e06fa 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-12.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-12.js @@ -1,21 +1,24 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-12.js
- * @description Date.prototype.toISOString - RangeError is not thrown when value of date is Date(1970, 0, 100000001, 0, 0, 0, 0), the time zone is UTC(0)
- */
-
-
-function testcase() {
- var timeZoneMinutes = new Date().getTimezoneOffset() * (-1);
- var date, dateStr;
-
- date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes - 60, 0, 0);
- dateStr = date.toISOString();
-
- return dateStr[dateStr.length - 1] === "Z";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - RangeError is not thrown when value + of date is Date(1970, 0, 100000001, 0, 0, 0, 0), the time zone is + UTC(0) +includes: [runTestCase.js] +---*/ + +function testcase() { + var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); + var date, dateStr; + + date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes - 60, 0, 0); + dateStr = date.toISOString(); + + return dateStr[dateStr.length - 1] === "Z"; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-13.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-13.js index 6d55349b4..b3c3a97f8 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-13.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-13.js @@ -1,29 +1,32 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-13.js
- * @description Date.prototype.toISOString - RangeError is thrown when value of date is Date(1970, 0, 100000001, 0, 0, 0, 1), the time zone is UTC(0)
- */
-
-
-function testcase() {
- var timeZoneMinutes = new Date().getTimezoneOffset() * (-1);
- var date, dateStr;
- try {
- if (timeZoneMinutes > 0) {
- date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes + 60, 0, 1);
- dateStr = date.toISOString();
- return false;
- } else {
- date = new Date(1970, 0, 100000001, 0, 0, 0, 1);
- dateStr = date.toISOString();
- return false;
- }
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - RangeError is thrown when value of + date is Date(1970, 0, 100000001, 0, 0, 0, 1), the time zone is + UTC(0) +includes: [runTestCase.js] +---*/ + +function testcase() { + var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); + var date, dateStr; + try { + if (timeZoneMinutes > 0) { + date = new Date(1970, 0, 100000001, 0, 0 + timeZoneMinutes + 60, 0, 1); + dateStr = date.toISOString(); + return false; + } else { + date = new Date(1970, 0, 100000001, 0, 0, 0, 1); + dateStr = date.toISOString(); + return false; + } + } catch (e) { + return e instanceof RangeError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-14.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-14.js index f45aa5b80..11234d068 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-14.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-14.js @@ -1,21 +1,23 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-14.js
- * @description Date.prototype.toISOString - when value of year is -Infinity Date.prototype.toISOString throw the RangeError
- */
-
-
-function testcase() {
- var date = new Date(-Infinity, 1, 70, 0, 0, 0);
-
- try {
- date.toISOString();
- } catch (ex) {
- return ex instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - when value of year is -Infinity + Date.prototype.toISOString throw the RangeError +includes: [runTestCase.js] +---*/ + +function testcase() { + var date = new Date(-Infinity, 1, 70, 0, 0, 0); + + try { + date.toISOString(); + } catch (ex) { + return ex instanceof RangeError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-15.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-15.js index 7b2bde326..4c75aa10a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-15.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-15.js @@ -1,21 +1,23 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-15.js
- * @description Date.prototype.toISOString - value of year is Infinity Date.prototype.toISOString throw the RangeError
- */
-
-
-function testcase() {
- var date = new Date(Infinity, 1, 70, 0, 0, 0);
-
- try {
- date.toISOString();
- } catch (ex) {
- return ex instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - value of year is Infinity + Date.prototype.toISOString throw the RangeError +includes: [runTestCase.js] +---*/ + +function testcase() { + var date = new Date(Infinity, 1, 70, 0, 0, 0); + + try { + date.toISOString(); + } catch (ex) { + return ex instanceof RangeError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-16.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-16.js index b9bb639aa..22887fb69 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-16.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-16.js @@ -1,22 +1,25 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-16.js
- * @description Date.prototype.toISOString - when this is a String object that value format is 'YYYY-MM-DDTHH:mm:ss.sssZ' Date.prototype.toISOString throw the TypeError
- */
-
-
-function testcase() {
- var date = new String("1970-01-00000:00:00.000Z");
-
- try {
- Date.prototype.toISOString.call(date);
- return false;
- } catch (ex) {
- return ex instanceof TypeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - when this is a String object that + value format is 'YYYY-MM-DDTHH:mm:ss.sssZ' + Date.prototype.toISOString throw the TypeError +includes: [runTestCase.js] +---*/ + +function testcase() { + var date = new String("1970-01-00000:00:00.000Z"); + + try { + Date.prototype.toISOString.call(date); + return false; + } catch (ex) { + return ex instanceof TypeError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-2.js index a37905d70..415b0c0de 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-2.js @@ -1,15 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-2.js
- * @description Date.prototype.toISOString must exist as a function taking 0 parameters
- */
-
-
-function testcase() {
- return Date.prototype.toISOString.length === 0;
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString must exist as a function taking 0 + parameters +includes: [runTestCase.js] +---*/ + +function testcase() { + return Date.prototype.toISOString.length === 0; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-3.js index 2d27b3155..dc9efacae 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-3.js @@ -1,15 +1,15 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-3.js
- * @description Date.prototype.toISOString must exist as a function
- */
-
-
-function testcase() {
- return typeof (Date.prototype.toISOString) === "function";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: Date.prototype.toISOString must exist as a function +includes: [runTestCase.js] +---*/ + +function testcase() { + return typeof (Date.prototype.toISOString) === "function"; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-4.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-4.js index 2d716f6ce..170dfc2c5 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-4.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-4.js @@ -1,18 +1,20 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-4.js
- * @description Date.prototype.toISOString - format of returned string is 'YYYY-MM-DDTHH:mm:ss.sssZ', the time zone is UTC(0)
- */
-
-
-function testcase() {
- var date = new Date(1999, 9, 10, 10, 10, 10, 10);
- var localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
-
- return localDate.toISOString() === "1999-10-10T10:10:10.010Z";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - format of returned string is + 'YYYY-MM-DDTHH:mm:ss.sssZ', the time zone is UTC(0) +includes: [runTestCase.js] +---*/ + +function testcase() { + var date = new Date(1999, 9, 10, 10, 10, 10, 10); + var localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000); + + return localDate.toISOString() === "1999-10-10T10:10:10.010Z"; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-5.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-5.js index a214ce397..471c31b03 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-5.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-5.js @@ -1,16 +1,18 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-5.js
- * @description Date.prototype.toISOString - The returned string is the UTC time zone(0)
- */
-
-
-function testcase() {
- var dateStr = (new Date()).toISOString();
- return dateStr[dateStr.length - 1] === "Z";
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - The returned string is the UTC time + zone(0) +includes: [runTestCase.js] +---*/ + +function testcase() { + var dateStr = (new Date()).toISOString(); + return dateStr[dateStr.length - 1] === "Z"; + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-6.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-6.js index 19d0df0ea..e4bc5642e 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-6.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-6.js @@ -1,21 +1,23 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-6.js
- * @description Date.prototype.toISOString - TypeError is thrown when this is any other objects instead of Date object
- */
-
-
-function testcase() {
-
- try {
- Date.prototype.toISOString.call([]);
- return false;
- } catch (ex) {
- return ex instanceof TypeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - TypeError is thrown when this is any + other objects instead of Date object +includes: [runTestCase.js] +---*/ + +function testcase() { + + try { + Date.prototype.toISOString.call([]); + return false; + } catch (ex) { + return ex instanceof TypeError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-7.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-7.js index 52c70ffea..d307851db 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-7.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-7.js @@ -1,21 +1,23 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-7.js
- * @description Date.prototype.toISOString - TypeError is thrown when this is any primitive values
- */
-
-
-function testcase() {
-
- try {
- Date.prototype.toISOString.call(15);
- return false;
- } catch (ex) {
- return ex instanceof TypeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - TypeError is thrown when this is any + primitive values +includes: [runTestCase.js] +---*/ + +function testcase() { + + try { + Date.prototype.toISOString.call(15); + return false; + } catch (ex) { + return ex instanceof TypeError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js index b21867345..ddbfb9568 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js @@ -1,29 +1,32 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-8.js
- * @description Date.prototype.toISOString - RangeError is thrown when value of date is Date(1970, 0, -99999999, 0, 0, 0, -1), the time zone is UTC(0)
- */
-
-
-function testcase() {
- var timeZoneMinutes = new Date().getTimezoneOffset() * (-1);
- var date, dateStr;
- try {
- if (timeZoneMinutes > 0) {
- date = new Date(1970, 0, -99999999, 0, 0, 0, -1);
- } else {
- date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes - 60, 0, -1);
- }
-
- dateStr = date.toISOString();
-
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - RangeError is thrown when value of + date is Date(1970, 0, -99999999, 0, 0, 0, -1), the time zone is + UTC(0) +includes: [runTestCase.js] +---*/ + +function testcase() { + var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); + var date, dateStr; + try { + if (timeZoneMinutes > 0) { + date = new Date(1970, 0, -99999999, 0, 0, 0, -1); + } else { + date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes - 60, 0, -1); + } + + dateStr = date.toISOString(); + + return false; + } catch (e) { + return e instanceof RangeError; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-9.js b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-9.js index cd2d640e2..81ec72ba0 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-9.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-9.js @@ -1,33 +1,36 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.43/15.9.5.43-0-9.js
- * @description Date.prototype.toISOString - RangeError is not thrown when value of date is Date(1970, 0, -99999999, 0, 0, 0, 0), the time zone is UTC(0)
- */
-
-
-function testcase() {
- var timeZoneMinutes = new Date().getTimezoneOffset() * (-1);
- var date, dateStr;
-
- if (timeZoneMinutes > 0) {
- date = new Date(1970, 0, -99999999, 0, 0, 0, 0);
-
- try {
- date.toISOString();
- return false;
- } catch (e) {
- return e instanceof RangeError;
- }
- } else {
- date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes + 60, 0, 0);
-
- dateStr = date.toISOString();
-
- return dateStr[dateStr.length - 1] === "Z";
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: > + Date.prototype.toISOString - RangeError is not thrown when value + of date is Date(1970, 0, -99999999, 0, 0, 0, 0), the time zone is + UTC(0) +includes: [runTestCase.js] +---*/ + +function testcase() { + var timeZoneMinutes = new Date().getTimezoneOffset() * (-1); + var date, dateStr; + + if (timeZoneMinutes > 0) { + date = new Date(1970, 0, -99999999, 0, 0, 0, 0); + + try { + date.toISOString(); + return false; + } catch (e) { + return e instanceof RangeError; + } + } else { + date = new Date(1970, 0, -99999999, 0, 0 + timeZoneMinutes + 60, 0, 0); + + dateStr = date.toISOString(); + + return dateStr[dateStr.length - 1] === "Z"; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-1.js index 5d0bfeb6e..ab1fda74c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-1.js @@ -1,18 +1,18 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-1.js
- * @description Date.prototype.toJSON must exist as a function
- */
-
-
-function testcase() {
- var f = Date.prototype.toJSON;
- if (typeof(f) === "function") {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: Date.prototype.toJSON must exist as a function +includes: [runTestCase.js] +---*/ + +function testcase() { + var f = Date.prototype.toJSON; + if (typeof(f) === "function") { + return true; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-2.js index 38a34a5bc..7b7c20fe2 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-2.js @@ -1,17 +1,17 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch15/15.9/15.9.5/15.9.5.44/15.9.5.44-0-2.js
- * @description Date.prototype.toJSON must exist as a function taking 1 parameter
- */
-
-
-function testcase() {
- if (Date.prototype.toJSON.length === 1) {
- return true;
- }
- }
-runTestCase(testcase);
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: Date.prototype.toJSON must exist as a function taking 1 parameter +includes: [runTestCase.js] +---*/ + +function testcase() { + if (Date.prototype.toJSON.length === 1) { + return true; + } + } +runTestCase(testcase); diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T1.js index 2e689a291..97e12b003 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_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. -/** - * The Date.prototype property "toLocaleString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "toLocaleString" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.toLocaleString; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.toLocaleString === x) { $ERROR('#1: The Date.prototype.toLocaleString has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T2.js index 0597790ba..65e7040a9 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "toLocaleString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "toLocaleString" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toLocaleString === false) { $ERROR('#1: The Date.prototype.toLocaleString property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.toLocaleString === false) { if (Date.prototype.hasOwnProperty('toLocaleString')) { $FAIL('#2: The Date.prototype.toLocaleString property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T3.js index e50c50234..5aa5454eb 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_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. -/** - * The Date.prototype property "toLocaleString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "toLocaleString" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('toLocaleString')) { $ERROR('#1: The Date.prototype.toLocaleString property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.toLocaleString has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A2_T1.js index 27d81cb13..055955eb3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_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. -/** - * The "length" property of the "toLocaleString" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A2_T1.js - * @description The "length" property of the "toLocaleString" is 0 - */ +/*--- +info: The "length" property of the "toLocaleString" is 0 +description: The "length" property of the "toLocaleString" is 0 +---*/ if(Date.prototype.toLocaleString.hasOwnProperty("length") !== true){ $ERROR('#1: The toLocaleString has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.toLocaleString.hasOwnProperty("length") !== true){ if(Date.prototype.toLocaleString.length !== 0){ $ERROR('#2: The "length" property of the toLocaleString is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T1.js index 8c81b0c92..7f82de091 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toLocaleString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.toLocaleString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T2.js index c5b47908c..d088846b9 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T2.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 Date.prototype.toLocaleString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.toLocaleString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toLocaleString.length !== false) { $ERROR('#1: The Date.prototype.toLocaleString.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.toLocaleString.length !== false) { if (!Date.prototype.toLocaleString.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.toLocaleString.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T3.js index b8921b7a5..a60768720 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toLocaleString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.5/S15.9.5.5_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.toLocaleString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.toLocaleString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toLocaleString.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.toLocaleString) { $ERROR('#2: The Date.prototype.toLocaleString.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T1.js index 3c133d009..686c2b0ca 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T1.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "toLocaleDateString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: > + The Date.prototype property "toLocaleDateString" has { DontEnum } + attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.toLocaleDateString; if(x === 1) @@ -16,5 +16,3 @@ else if (Date.prototype.toLocaleDateString === x) { $ERROR('#1: The Date.prototype.toLocaleDateString has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T2.js index 47f1f4277..ff1342482 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T2.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 Date.prototype property "toLocaleDateString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: > + The Date.prototype property "toLocaleDateString" has { DontEnum } + attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toLocaleDateString === false) { $ERROR('#1: The Date.prototype.toLocaleDateString property has not the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.toLocaleDateString === false) { if (Date.prototype.hasOwnProperty('toLocaleDateString')) { $FAIL('#2: The Date.prototype.toLocaleDateString property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T3.js index 4d9c51550..462cc9077 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "toLocaleDateString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype property "toLocaleDateString" has { DontEnum } + attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('toLocaleDateString')) { $ERROR('#1: The Date.prototype.toLocaleDateString property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.toLocaleDateString has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A2_T1.js index c9d389f59..f63559b5d 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_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. -/** - * The "length" property of the "toLocaleDateString" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A2_T1.js - * @description The "length" property of the "toLocaleDateString" is 0 - */ +/*--- +info: The "length" property of the "toLocaleDateString" is 0 +description: The "length" property of the "toLocaleDateString" is 0 +---*/ if(Date.prototype.toLocaleDateString.hasOwnProperty("length") !== true){ $ERROR('#1: The toLocaleDateString has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.toLocaleDateString.hasOwnProperty("length") !== true){ if(Date.prototype.toLocaleDateString.length !== 0){ $ERROR('#2: The "length" property of the toLocaleDateString is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T1.js index 2f084f6fb..1756a1621 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toLocaleDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.toLocaleDateString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T2.js index fe41070eb..8942bbdd3 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T2.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 Date.prototype.toLocaleDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.toLocaleDateString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toLocaleDateString.length !== false) { $ERROR('#1: The Date.prototype.toLocaleDateString.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.toLocaleDateString.length !== false) { if (!Date.prototype.toLocaleDateString.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.toLocaleDateString.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T3.js index 711997c20..eef709369 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toLocaleDateString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.6/S15.9.5.6_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.toLocaleDateString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.toLocaleDateString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toLocaleDateString.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.toLocaleDateString) { $ERROR('#2: The Date.prototype.toLocaleDateString.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T1.js index 29c7d077d..6af44d2cd 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T1.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "toLocaleTimeString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: > + The Date.prototype property "toLocaleTimeString" has { DontEnum } + attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.toLocaleTimeString; if(x === 1) @@ -16,5 +16,3 @@ else if (Date.prototype.toLocaleTimeString === x) { $ERROR('#1: The Date.prototype.toLocaleTimeString has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T2.js index 30e58a91e..edd446033 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T2.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 Date.prototype property "toLocaleTimeString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: > + The Date.prototype property "toLocaleTimeString" has { DontEnum } + attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toLocaleTimeString === false) { $ERROR('#1: The Date.prototype.toLocaleTimeString property has not the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.toLocaleTimeString === false) { if (Date.prototype.hasOwnProperty('toLocaleTimeString')) { $FAIL('#2: The Date.prototype.toLocaleTimeString property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T3.js index 61b3a2482..4c591355f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "toLocaleTimeString" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype property "toLocaleTimeString" has { DontEnum } + attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('toLocaleTimeString')) { $ERROR('#1: The Date.prototype.toLocaleTimeString property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.toLocaleTimeString has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A2_T1.js index be00eb3c4..fdcc03799 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_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. -/** - * The "length" property of the "toLocaleTimeString" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A2_T1.js - * @description The "length" property of the "toLocaleTimeString" is 0 - */ +/*--- +info: The "length" property of the "toLocaleTimeString" is 0 +description: The "length" property of the "toLocaleTimeString" is 0 +---*/ if(Date.prototype.toLocaleTimeString.hasOwnProperty("length") !== true){ $ERROR('#1: The toLocaleTimeString has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.toLocaleTimeString.hasOwnProperty("length") !== true){ if(Date.prototype.toLocaleTimeString.length !== 0){ $ERROR('#2: The "length" property of the toLocaleTimeString is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T1.js index 0e9518387..97070a156 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toLocaleTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.toLocaleTimeString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T2.js index 36dda6272..c22f7ec81 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T2.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 Date.prototype.toLocaleTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.toLocaleTimeString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.toLocaleTimeString.length !== false) { $ERROR('#1: The Date.prototype.toLocaleTimeString.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.toLocaleTimeString.length !== false) { if (!Date.prototype.toLocaleTimeString.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.toLocaleTimeString.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T3.js index 23d6b9d68..b43aec9bb 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.toLocaleTimeString property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.7/S15.9.5.7_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.toLocaleTimeString property "length" has { ReadOnly, + DontDelete, DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.toLocaleTimeString.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.toLocaleTimeString.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.toLocaleTimeString) { $ERROR('#2: The Date.prototype.toLocaleTimeString.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T1.js index 34bec1bbc..6e3e70c69 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_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. -/** - * The Date.prototype property "valueOf" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "valueOf" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.valueOf; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.valueOf === x) { $ERROR('#1: The Date.prototype.valueOf has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T2.js index cad6fca8e..f62a26283 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "valueOf" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "valueOf" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.valueOf === false) { $ERROR('#1: The Date.prototype.valueOf property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.valueOf === false) { if (Date.prototype.hasOwnProperty('valueOf')) { $FAIL('#2: The Date.prototype.valueOf property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T3.js index 3576b8249..2a179599c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_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. -/** - * The Date.prototype property "valueOf" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "valueOf" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('valueOf')) { $ERROR('#1: The Date.prototype.valueOf property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.valueOf has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A2_T1.js index 43906a360..65084321f 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_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. -/** - * The "length" property of the "valueOf" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A2_T1.js - * @description The "length" property of the "valueOf" is 0 - */ +/*--- +info: The "length" property of the "valueOf" is 0 +description: The "length" property of the "valueOf" is 0 +---*/ if(Date.prototype.valueOf.hasOwnProperty("length") !== true){ $ERROR('#1: The valueOf has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.valueOf.hasOwnProperty("length") !== true){ if(Date.prototype.valueOf.length !== 0){ $ERROR('#2: The "length" property of the valueOf is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T1.js index b8651be96..720320e62 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.valueOf property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.valueOf property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T2.js index 8730a29c3..25ec4c822 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T2.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 Date.prototype.valueOf property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.valueOf property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.valueOf.length !== false) { $ERROR('#1: The Date.prototype.valueOf.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.valueOf.length !== false) { if (!Date.prototype.valueOf.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.valueOf.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T3.js index d9a983d99..8f30e46a5 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.valueOf property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.8/S15.9.5.8_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.valueOf property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.valueOf.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.valueOf.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.valueOf) { $ERROR('#2: The Date.prototype.valueOf.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T1.js index 77612f2de..698cd4b32 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_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. -/** - * The Date.prototype property "getTime" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T1.js - * @description Checking absence of ReadOnly attribute - */ +/*--- +info: The Date.prototype property "getTime" has { DontEnum } attributes +description: Checking absence of ReadOnly attribute +---*/ x = Date.prototype.getTime; if(x === 1) @@ -16,5 +14,3 @@ else if (Date.prototype.getTime === x) { $ERROR('#1: The Date.prototype.getTime has not the attribute ReadOnly'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T2.js index e31ccafae..d65f8d8a5 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T2.js @@ -1,12 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype property "getTime" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T2.js - * @description Checking absence of DontDelete attribute - */ +/*--- +info: The Date.prototype property "getTime" has { DontEnum } attributes +description: Checking absence of DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getTime === false) { $ERROR('#1: The Date.prototype.getTime property has not the attributes DontDelete'); @@ -15,5 +14,3 @@ if (delete Date.prototype.getTime === false) { if (Date.prototype.hasOwnProperty('getTime')) { $FAIL('#2: The Date.prototype.getTime property has not the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T3.js index e8b85fa1a..91852225c 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_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. -/** - * The Date.prototype property "getTime" has { DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A1_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: The Date.prototype property "getTime" has { DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.propertyIsEnumerable('getTime')) { $ERROR('#1: The Date.prototype.getTime property has the attribute DontEnum'); @@ -17,5 +15,3 @@ for(x in Date.prototype) { $ERROR('#2: The Date.prototype.getTime has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A2_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A2_T1.js index ef403fcbd..bc3c8b440 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A2_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_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. -/** - * The "length" property of the "getTime" is 0 - * - * @path ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A2_T1.js - * @description The "length" property of the "getTime" is 0 - */ +/*--- +info: The "length" property of the "getTime" is 0 +description: The "length" property of the "getTime" is 0 +---*/ if(Date.prototype.getTime.hasOwnProperty("length") !== true){ $ERROR('#1: The getTime has a "length" property'); @@ -15,5 +13,3 @@ if(Date.prototype.getTime.hasOwnProperty("length") !== true){ if(Date.prototype.getTime.length !== 0){ $ERROR('#2: The "length" property of the getTime is 0'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T1.js b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T1.js index a10f337c0..adebbad84 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T1.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T1.js @@ -1,17 +1,15 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T1.js - * @description Checking ReadOnly attribute - */ +/*--- +info: > + The Date.prototype.getTime property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking ReadOnly attribute +---*/ 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/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T2.js b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T2.js index b2d85ac08..ffe307872 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T2.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T2.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 Date.prototype.getTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T2.js - * @description Checking DontDelete attribute - */ +/*--- +info: > + The Date.prototype.getTime property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontDelete attribute +includes: [$FAIL.js] +---*/ if (delete Date.prototype.getTime.length !== false) { $ERROR('#1: The Date.prototype.getTime.length property has the attributes DontDelete'); @@ -15,5 +16,3 @@ if (delete Date.prototype.getTime.length !== false) { if (!Date.prototype.getTime.hasOwnProperty('length')) { $FAIL('#2: The Date.prototype.getTime.length property has the attributes DontDelete'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T3.js b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T3.js index 20f77f3fc..102fc5c3a 100644 --- a/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T3.js +++ b/test/suite/ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T3.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype.getTime property "length" has { ReadOnly, DontDelete, DontEnum } attributes - * - * @path ch15/15.9/15.9.5/15.9.5.9/S15.9.5.9_A3_T3.js - * @description Checking DontEnum attribute - */ +/*--- +info: > + The Date.prototype.getTime property "length" has { ReadOnly, DontDelete, + DontEnum } attributes +description: Checking DontEnum attribute +---*/ if (Date.prototype.getTime.propertyIsEnumerable('length')) { $ERROR('#1: The Date.prototype.getTime.length property has the attribute DontEnum'); @@ -17,5 +17,3 @@ for(x in Date.prototype.getTime) { $ERROR('#2: The Date.prototype.getTime.length has the attribute DontEnum'); } } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A01_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A01_T1.js index 0f2a8e241..b49fbdba0 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A01_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A01_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "constructor" - * - * @path ch15/15.9/15.9.5/S15.9.5_A01_T1.js - * @description The Date.prototype has the property "constructor" - */ +/*--- +info: The Date.prototype has the property "constructor" +description: The Date.prototype has the property "constructor" +---*/ if(Date.prototype.hasOwnProperty("constructor") !== true){ $ERROR('#1: The Date.prototype has the property "constructor"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A02_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A02_T1.js index 78c72f007..ff32741a4 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A02_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A02_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "toString" - * - * @path ch15/15.9/15.9.5/S15.9.5_A02_T1.js - * @description The Date.prototype has the property "toString" - */ +/*--- +info: The Date.prototype has the property "toString" +description: The Date.prototype has the property "toString" +---*/ if(Date.prototype.hasOwnProperty("toString") !== true){ $ERROR('#1: The Date.prototype has the property "toString"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A03_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A03_T1.js index e73d4016b..1054ba1b0 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A03_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A03_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "toDateString" - * - * @path ch15/15.9/15.9.5/S15.9.5_A03_T1.js - * @description The Date.prototype has the property "toDateString" - */ +/*--- +info: The Date.prototype has the property "toDateString" +description: The Date.prototype has the property "toDateString" +---*/ if(Date.prototype.hasOwnProperty("toDateString") !== true){ $ERROR('#1: The Date.prototype has the property "toDateString"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A04_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A04_T1.js index 6a8dd9cfe..cdc83469e 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A04_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A04_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "toTimeString" - * - * @path ch15/15.9/15.9.5/S15.9.5_A04_T1.js - * @description The Date.prototype has the property "toTimeString" - */ +/*--- +info: The Date.prototype has the property "toTimeString" +description: The Date.prototype has the property "toTimeString" +---*/ if(Date.prototype.hasOwnProperty("toTimeString") !== true){ $ERROR('#1: The Date.prototype has the property "toTimeString"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A05_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A05_T1.js index f42b4f00b..3cf140765 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A05_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A05_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "toLocaleString" - * - * @path ch15/15.9/15.9.5/S15.9.5_A05_T1.js - * @description The Date.prototype has the property "toLocaleString" - */ +/*--- +info: The Date.prototype has the property "toLocaleString" +description: The Date.prototype has the property "toLocaleString" +---*/ if(Date.prototype.hasOwnProperty("toLocaleString") !== true){ $ERROR('#1: The Date.prototype has the property "toLocaleString"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A06_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A06_T1.js index eb60ccdde..3a4742993 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A06_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A06_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "toLocaleDateString" - * - * @path ch15/15.9/15.9.5/S15.9.5_A06_T1.js - * @description The Date.prototype has the property "toLocaleDateString" - */ +/*--- +info: The Date.prototype has the property "toLocaleDateString" +description: The Date.prototype has the property "toLocaleDateString" +---*/ if(Date.prototype.hasOwnProperty("toLocaleDateString") !== true){ $ERROR('#1: The Date.prototype has the property "toLocaleDateString"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A07_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A07_T1.js index a90a02ec6..e136a835f 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A07_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A07_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "toLocaleTimeString" - * - * @path ch15/15.9/15.9.5/S15.9.5_A07_T1.js - * @description The Date.prototype has the property "toLocaleTimeString" - */ +/*--- +info: The Date.prototype has the property "toLocaleTimeString" +description: The Date.prototype has the property "toLocaleTimeString" +---*/ if(Date.prototype.hasOwnProperty("toLocaleTimeString") !== true){ $ERROR('#1: The Date.prototype has the property "toLocaleTimeString"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A08_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A08_T1.js index 64f093612..6228aeaba 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A08_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A08_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "valueOf" - * - * @path ch15/15.9/15.9.5/S15.9.5_A08_T1.js - * @description The Date.prototype has the property "valueOf" - */ +/*--- +info: The Date.prototype has the property "valueOf" +description: The Date.prototype has the property "valueOf" +---*/ if(Date.prototype.hasOwnProperty("valueOf") !== true){ $ERROR('#1: The Date.prototype has the property "valueOf"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A09_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A09_T1.js index 3c8bdba83..58df8ab05 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A09_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A09_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getTime" - * - * @path ch15/15.9/15.9.5/S15.9.5_A09_T1.js - * @description The Date.prototype has the property "getTime" - */ +/*--- +info: The Date.prototype has the property "getTime" +description: The Date.prototype has the property "getTime" +---*/ if(Date.prototype.hasOwnProperty("getTime") !== true){ $ERROR('#1: The Date.prototype has the property "getTime"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A10_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A10_T1.js index 7f104ee37..534fb440b 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A10_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A10_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getFullYear" - * - * @path ch15/15.9/15.9.5/S15.9.5_A10_T1.js - * @description The Date.prototype has the property "getFullYear" - */ +/*--- +info: The Date.prototype has the property "getFullYear" +description: The Date.prototype has the property "getFullYear" +---*/ if(Date.prototype.hasOwnProperty("getFullYear") !== true){ $ERROR('#1: The Date.prototype has the property "getFullYear"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A11_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A11_T1.js index 8517a7509..723b811e1 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A11_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A11_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getUTCFullYear" - * - * @path ch15/15.9/15.9.5/S15.9.5_A11_T1.js - * @description The Date.prototype has the property "getUTCFullYear" - */ +/*--- +info: The Date.prototype has the property "getUTCFullYear" +description: The Date.prototype has the property "getUTCFullYear" +---*/ if(Date.prototype.hasOwnProperty("getUTCFullYear") !== true){ $ERROR('#1: The Date.prototype has the property "getUTCFullYear"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A12_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A12_T1.js index 416a4fcf5..db7ca30d5 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A12_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A12_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getMonth" - * - * @path ch15/15.9/15.9.5/S15.9.5_A12_T1.js - * @description The Date.prototype has the property "getMonth" - */ +/*--- +info: The Date.prototype has the property "getMonth" +description: The Date.prototype has the property "getMonth" +---*/ if(Date.prototype.hasOwnProperty("getMonth") !== true){ $ERROR('#1: The Date.prototype has the property "getMonth"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A13_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A13_T1.js index d0c727e16..0da74b55a 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A13_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A13_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getUTCMonth" - * - * @path ch15/15.9/15.9.5/S15.9.5_A13_T1.js - * @description The Date.prototype has the property "getUTCMonth" - */ +/*--- +info: The Date.prototype has the property "getUTCMonth" +description: The Date.prototype has the property "getUTCMonth" +---*/ if(Date.prototype.hasOwnProperty("getUTCMonth") !== true){ $ERROR('#1: The Date.prototype has the property "getUTCMonth"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A14_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A14_T1.js index 246f3a46c..b97b5d8e9 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A14_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A14_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getDate" - * - * @path ch15/15.9/15.9.5/S15.9.5_A14_T1.js - * @description The Date.prototype has the property "getDate" - */ +/*--- +info: The Date.prototype has the property "getDate" +description: The Date.prototype has the property "getDate" +---*/ if(Date.prototype.hasOwnProperty("getDate") !== true){ $ERROR('#1: The Date.prototype has the property "getDate"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A15_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A15_T1.js index 2e7465dfc..becd18049 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A15_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A15_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getUTCDate" - * - * @path ch15/15.9/15.9.5/S15.9.5_A15_T1.js - * @description The Date.prototype has the property "getUTCDate" - */ +/*--- +info: The Date.prototype has the property "getUTCDate" +description: The Date.prototype has the property "getUTCDate" +---*/ if(Date.prototype.hasOwnProperty("getUTCDate") !== true){ $ERROR('#1: The Date.prototype has the property "getUTCDate"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A16_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A16_T1.js index ef55aa7a9..8b0422f9d 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A16_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A16_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getDay" - * - * @path ch15/15.9/15.9.5/S15.9.5_A16_T1.js - * @description The Date.prototype has the property "getDay" - */ +/*--- +info: The Date.prototype has the property "getDay" +description: The Date.prototype has the property "getDay" +---*/ if(Date.prototype.hasOwnProperty("getDay") !== true){ $ERROR('#1: The Date.prototype has the property "getDay"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A17_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A17_T1.js index c9bfa485a..4ef6ea1d9 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A17_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A17_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getUTCDay" - * - * @path ch15/15.9/15.9.5/S15.9.5_A17_T1.js - * @description The Date.prototype has the property "getUTCDay" - */ +/*--- +info: The Date.prototype has the property "getUTCDay" +description: The Date.prototype has the property "getUTCDay" +---*/ if(Date.prototype.hasOwnProperty("getUTCDay") !== true){ $ERROR('#1: The Date.prototype has the property "getUTCDay"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A18_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A18_T1.js index cf8d5245b..d5dc8d374 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A18_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A18_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getHours" - * - * @path ch15/15.9/15.9.5/S15.9.5_A18_T1.js - * @description The Date.prototype has the property "getHours" - */ +/*--- +info: The Date.prototype has the property "getHours" +description: The Date.prototype has the property "getHours" +---*/ if(Date.prototype.hasOwnProperty("getHours") !== true){ $ERROR('#1: The Date.prototype has the property "getHours"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A19_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A19_T1.js index 2d5b70915..f7b543494 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A19_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A19_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getUTCHours" - * - * @path ch15/15.9/15.9.5/S15.9.5_A19_T1.js - * @description The Date.prototype has the property "getUTCHours" - */ +/*--- +info: The Date.prototype has the property "getUTCHours" +description: The Date.prototype has the property "getUTCHours" +---*/ if(Date.prototype.hasOwnProperty("getUTCHours") !== true){ $ERROR('#1: The Date.prototype has the property "getUTCHours"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A20_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A20_T1.js index d0d6133ad..1c2650cf4 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A20_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A20_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getMinutes" - * - * @path ch15/15.9/15.9.5/S15.9.5_A20_T1.js - * @description The Date.prototype has the property "getMinutes" - */ +/*--- +info: The Date.prototype has the property "getMinutes" +description: The Date.prototype has the property "getMinutes" +---*/ if(Date.prototype.hasOwnProperty("getMinutes") !== true){ $ERROR('#1: The Date.prototype has the property "getMinutes"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A21_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A21_T1.js index 12d9ca1ed..1dfed5457 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A21_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A21_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getUTCMinutes" - * - * @path ch15/15.9/15.9.5/S15.9.5_A21_T1.js - * @description The Date.prototype has the property "getUTCMinutes" - */ +/*--- +info: The Date.prototype has the property "getUTCMinutes" +description: The Date.prototype has the property "getUTCMinutes" +---*/ if(Date.prototype.hasOwnProperty("getUTCMinutes") !== true){ $ERROR('#1: The Date.prototype has the property "getUTCMinutes"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A22_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A22_T1.js index a37801e4b..75155bcc8 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A22_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A22_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getSeconds" - * - * @path ch15/15.9/15.9.5/S15.9.5_A22_T1.js - * @description The Date.prototype has the property "getSeconds" - */ +/*--- +info: The Date.prototype has the property "getSeconds" +description: The Date.prototype has the property "getSeconds" +---*/ if(Date.prototype.hasOwnProperty("getSeconds") !== true){ $ERROR('#1: The Date.prototype has the property "getSeconds"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A23_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A23_T1.js index eeaec5dc2..a41c881bc 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A23_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A23_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getUTCSeconds" - * - * @path ch15/15.9/15.9.5/S15.9.5_A23_T1.js - * @description The Date.prototype has the property "getUTCSeconds" - */ +/*--- +info: The Date.prototype has the property "getUTCSeconds" +description: The Date.prototype has the property "getUTCSeconds" +---*/ if(Date.prototype.hasOwnProperty("getUTCSeconds") !== true){ $ERROR('#1: The Date.prototype has the property "getUTCSeconds"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A24_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A24_T1.js index d6e868c4e..b6d43965c 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A24_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A24_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getMilliseconds" - * - * @path ch15/15.9/15.9.5/S15.9.5_A24_T1.js - * @description The Date.prototype has the property "getMilliseconds" - */ +/*--- +info: The Date.prototype has the property "getMilliseconds" +description: The Date.prototype has the property "getMilliseconds" +---*/ if(Date.prototype.hasOwnProperty("getMilliseconds") !== true){ $ERROR('#1: The Date.prototype has the property "getMilliseconds"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A25_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A25_T1.js index 04e6f1c84..888987d7a 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A25_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A25_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getUTCMilliseconds" - * - * @path ch15/15.9/15.9.5/S15.9.5_A25_T1.js - * @description The Date.prototype has the property "getUTCMilliseconds" - */ +/*--- +info: The Date.prototype has the property "getUTCMilliseconds" +description: The Date.prototype has the property "getUTCMilliseconds" +---*/ if(Date.prototype.hasOwnProperty("getUTCMilliseconds") !== true){ $ERROR('#1: The Date.prototype has the property "getUTCMilliseconds"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A26_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A26_T1.js index ce76fb651..38db7c015 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A26_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A26_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "getTimezoneOffset" - * - * @path ch15/15.9/15.9.5/S15.9.5_A26_T1.js - * @description The Date.prototype has the property "getTimezoneOffset" - */ +/*--- +info: The Date.prototype has the property "getTimezoneOffset" +description: The Date.prototype has the property "getTimezoneOffset" +---*/ if(Date.prototype.hasOwnProperty("getTimezoneOffset") !== true){ $ERROR('#1: The Date.prototype has the property "getTimezoneOffset"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A27_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A27_T1.js index 21cd10a25..f141ac415 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A27_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A27_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setTime" - * - * @path ch15/15.9/15.9.5/S15.9.5_A27_T1.js - * @description The Date.prototype has the property "setTime" - */ +/*--- +info: The Date.prototype has the property "setTime" +description: The Date.prototype has the property "setTime" +---*/ if(Date.prototype.hasOwnProperty("setTime") !== true){ $ERROR('#1: The Date.prototype has the property "setTime"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A28_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A28_T1.js index 902674bed..a4c3e351c 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A28_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A28_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setMilliseconds" - * - * @path ch15/15.9/15.9.5/S15.9.5_A28_T1.js - * @description The Date.prototype has the property "setMilliseconds" - */ +/*--- +info: The Date.prototype has the property "setMilliseconds" +description: The Date.prototype has the property "setMilliseconds" +---*/ if(Date.prototype.hasOwnProperty("setMilliseconds") !== true){ $ERROR('#1: The Date.prototype has the property "setMilliseconds"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A29_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A29_T1.js index 2a01da027..911e52ad9 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A29_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A29_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setUTCMilliseconds" - * - * @path ch15/15.9/15.9.5/S15.9.5_A29_T1.js - * @description The Date.prototype has the property "setUTCMilliseconds" - */ +/*--- +info: The Date.prototype has the property "setUTCMilliseconds" +description: The Date.prototype has the property "setUTCMilliseconds" +---*/ if(Date.prototype.hasOwnProperty("setUTCMilliseconds") !== true){ $ERROR('#1: The Date.prototype has the property "setUTCMilliseconds"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A30_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A30_T1.js index cda5c8f5b..757f7830d 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A30_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A30_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setSeconds" - * - * @path ch15/15.9/15.9.5/S15.9.5_A30_T1.js - * @description The Date.prototype has the property "setSeconds" - */ +/*--- +info: The Date.prototype has the property "setSeconds" +description: The Date.prototype has the property "setSeconds" +---*/ if(Date.prototype.hasOwnProperty("setSeconds") !== true){ $ERROR('#1: The Date.prototype has the property "setSeconds"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A31_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A31_T1.js index 1e01f2c56..c9163180b 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A31_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A31_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setUTCSeconds" - * - * @path ch15/15.9/15.9.5/S15.9.5_A31_T1.js - * @description The Date.prototype has the property "setUTCSeconds" - */ +/*--- +info: The Date.prototype has the property "setUTCSeconds" +description: The Date.prototype has the property "setUTCSeconds" +---*/ if(Date.prototype.hasOwnProperty("setUTCSeconds") !== true){ $ERROR('#1: The Date.prototype has the property "setUTCSeconds"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A32_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A32_T1.js index 0af442aa9..c204fdae5 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A32_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A32_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setMinutes" - * - * @path ch15/15.9/15.9.5/S15.9.5_A32_T1.js - * @description The Date.prototype has the property "setMinutes" - */ +/*--- +info: The Date.prototype has the property "setMinutes" +description: The Date.prototype has the property "setMinutes" +---*/ if(Date.prototype.hasOwnProperty("setMinutes") !== true){ $ERROR('#1: The Date.prototype has the property "setMinutes"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A33_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A33_T1.js index 69e26bfdd..660f38ffa 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A33_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A33_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setUTCMinutes" - * - * @path ch15/15.9/15.9.5/S15.9.5_A33_T1.js - * @description The Date.prototype has the property "setUTCMinutes" - */ +/*--- +info: The Date.prototype has the property "setUTCMinutes" +description: The Date.prototype has the property "setUTCMinutes" +---*/ if(Date.prototype.hasOwnProperty("setUTCMinutes") !== true){ $ERROR('#1: The Date.prototype has the property "setUTCMinutes"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A34_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A34_T1.js index 5456c1809..944d4a9d6 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A34_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A34_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setHours" - * - * @path ch15/15.9/15.9.5/S15.9.5_A34_T1.js - * @description The Date.prototype has the property "setHours" - */ +/*--- +info: The Date.prototype has the property "setHours" +description: The Date.prototype has the property "setHours" +---*/ if(Date.prototype.hasOwnProperty("setHours") !== true){ $ERROR('#1: The Date.prototype has the property "setHours"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A35_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A35_T1.js index a12abf8c1..ccba4ecb3 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A35_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A35_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setUTCHours" - * - * @path ch15/15.9/15.9.5/S15.9.5_A35_T1.js - * @description The Date.prototype has the property "setUTCHours" - */ +/*--- +info: The Date.prototype has the property "setUTCHours" +description: The Date.prototype has the property "setUTCHours" +---*/ if(Date.prototype.hasOwnProperty("setUTCHours") !== true){ $ERROR('#1: The Date.prototype has the property "setUTCHours"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A36_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A36_T1.js index 004946dd7..0eb00271b 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A36_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A36_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setDate" - * - * @path ch15/15.9/15.9.5/S15.9.5_A36_T1.js - * @description The Date.prototype has the property "setDate" - */ +/*--- +info: The Date.prototype has the property "setDate" +description: The Date.prototype has the property "setDate" +---*/ if(Date.prototype.hasOwnProperty("setDate") !== true){ $ERROR('#1: The Date.prototype has the property "setDate"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A37_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A37_T1.js index 042b9e06e..c47570773 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A37_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A37_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setUTCDate" - * - * @path ch15/15.9/15.9.5/S15.9.5_A37_T1.js - * @description The Date.prototype has the property "setUTCDate" - */ +/*--- +info: The Date.prototype has the property "setUTCDate" +description: The Date.prototype has the property "setUTCDate" +---*/ if(Date.prototype.hasOwnProperty("setUTCDate") !== true){ $ERROR('#1: The Date.prototype has the property "setUTCDate"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A38_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A38_T1.js index 9e8884645..a5f64814e 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A38_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A38_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setMonth" - * - * @path ch15/15.9/15.9.5/S15.9.5_A38_T1.js - * @description The Date.prototype has the property "setMonth" - */ +/*--- +info: The Date.prototype has the property "setMonth" +description: The Date.prototype has the property "setMonth" +---*/ if(Date.prototype.hasOwnProperty("setMonth") !== true){ $ERROR('#1: The Date.prototype has the property "setMonth"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A39_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A39_T1.js index bd4e26109..32ffa628e 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A39_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A39_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setUTCMonth" - * - * @path ch15/15.9/15.9.5/S15.9.5_A39_T1.js - * @description The Date.prototype has the property "setUTCMonth" - */ +/*--- +info: The Date.prototype has the property "setUTCMonth" +description: The Date.prototype has the property "setUTCMonth" +---*/ if(Date.prototype.hasOwnProperty("setUTCMonth") !== true){ $ERROR('#1: The Date.prototype has the property "setUTCMonth"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A40_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A40_T1.js index 4364b3bf8..5c41f5dd3 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A40_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A40_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setFullYear" - * - * @path ch15/15.9/15.9.5/S15.9.5_A40_T1.js - * @description The Date.prototype has the property "setFullYear" - */ +/*--- +info: The Date.prototype has the property "setFullYear" +description: The Date.prototype has the property "setFullYear" +---*/ if(Date.prototype.hasOwnProperty("setFullYear") !== true){ $ERROR('#1: The Date.prototype has the property "setFullYear"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A41_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A41_T1.js index a5c713dbf..801268a65 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A41_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A41_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "setUTCFullYear" - * - * @path ch15/15.9/15.9.5/S15.9.5_A41_T1.js - * @description The Date.prototype has the property "setUTCFullYear" - */ +/*--- +info: The Date.prototype has the property "setUTCFullYear" +description: The Date.prototype has the property "setUTCFullYear" +---*/ if(Date.prototype.hasOwnProperty("setUTCFullYear") !== true){ $ERROR('#1: The Date.prototype has the property "setUTCFullYear"'); } - - diff --git a/test/suite/ch15/15.9/15.9.5/S15.9.5_A42_T1.js b/test/suite/ch15/15.9/15.9.5/S15.9.5_A42_T1.js index 118343027..d35f2efa4 100644 --- a/test/suite/ch15/15.9/15.9.5/S15.9.5_A42_T1.js +++ b/test/suite/ch15/15.9/15.9.5/S15.9.5_A42_T1.js @@ -1,15 +1,11 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * The Date.prototype has the property "toUTCString" - * - * @path ch15/15.9/15.9.5/S15.9.5_A42_T1.js - * @description The Date.prototype has the property "toUTCString" - */ +/*--- +info: The Date.prototype has the property "toUTCString" +description: The Date.prototype has the property "toUTCString" +---*/ if(Date.prototype.hasOwnProperty("toUTCString") !== true){ $ERROR('#1: The Date.prototype has the property "toUTCString"'); } - - |