Mark with "TODO: Convert to verifyProperty() format."

This commit is contained in:
rwaldron 2021-08-11 14:35:53 -04:00 committed by Leo Balter
parent 1c24e4b915
commit f1720c4a0c
267 changed files with 534 additions and 0 deletions

View File

@ -15,3 +15,5 @@ if (x === 1) {
Date.UTC = 1;
}
assert.notSameValue(Date.UTC, x, 'The value of Date.UTC is expected to not equal the value of `x`');
// TODO: Convert to verifyProperty() format.

View File

@ -9,3 +9,5 @@ description: Checking absence of DontDelete attribute
---*/
assert.notSameValue(delete Date.UTC, false, 'The value of delete Date.UTC is not false');
assert(!Date.hasOwnProperty('UTC'), 'The value of !Date.hasOwnProperty(\'UTC\') is expected to be true');
// TODO: Convert to verifyProperty() format.

View File

@ -15,3 +15,5 @@ assert(
for (var x in Date) {
assert.notSameValue(x, "UTC", 'The value of x is not "UTC"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ includes: [propertyHelper.js]
var x = Date.UTC.length;
verifyNotWritable(Date.UTC, "length", null, 1);
assert.sameValue(Date.UTC.length, x, 'The value of Date.UTC.length is expected to equal the value of x');
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
!Date.UTC.hasOwnProperty('length'),
'The value of !Date.UTC.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -17,3 +17,5 @@ assert(
for (var x in Date.UTC) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ if (x === 1) {
Date.parse = 1;
}
assert.notSameValue(Date.parse, x, 'The value of Date.parse is expected to not equal the value of `x`');
// TODO: Convert to verifyProperty() format.

View File

@ -8,3 +8,5 @@ description: Checking absence of DontDelete attribute
---*/
assert.notSameValue(delete Date.parse, false, 'The value of delete Date.parse is not false');
assert(!Date.hasOwnProperty('parse'), 'The value of !Date.hasOwnProperty(\'parse\') is expected to be true');
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
for (var x in Date) {
assert.notSameValue(x, "parse", 'The value of x is not "parse"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -13,3 +13,5 @@ includes: [propertyHelper.js]
var x = Date.parse.length;
verifyNotWritable(Date.parse, "length", null, 1);
assert.sameValue(Date.parse.length, x, 'The value of Date.parse.length is expected to equal the value of x');
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
!Date.parse.hasOwnProperty('length'),
'The value of !Date.parse.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.parse) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -13,3 +13,5 @@ includes: [propertyHelper.js]
var x = Date.prototype;
verifyNotWritable(Date, "prototype", null, 1);
assert.sameValue(Date.prototype, x, 'The value of Date.prototype is expected to equal the value of x');
// TODO: Convert to verifyProperty() format.

View File

@ -24,3 +24,5 @@ try {
if (!Date.hasOwnProperty('prototype')) {
throw new Test262Error('#2: The Date.prototype property has the attributes DontDelete');
}
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date) {
assert.notSameValue(x, "prototype", 'The value of x is not "prototype"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.constructor is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
!Date.prototype.hasOwnProperty('constructor'),
'The value of !Date.prototype.hasOwnProperty(\'constructor\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "constructor", 'The value of x is not "constructor"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert.sameValue(
x,
'The value of Date.prototype.constructor.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.constructor.hasOwnProperty('length'),
'The value of !Date.prototype.constructor.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype.constructor) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getDate is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -12,3 +12,5 @@ assert(
!Date.prototype.hasOwnProperty('getDate'),
'The value of !Date.prototype.hasOwnProperty(\'getDate\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getDate", 'The value of x is not "getDate"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getDate.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.getDate.hasOwnProperty('length'),
'The value of !Date.prototype.getDate.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype.getDate) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -20,3 +20,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getDay is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -13,3 +13,5 @@ assert(
!Date.prototype.hasOwnProperty('getDay'),
'The value of !Date.prototype.hasOwnProperty(\'getDay\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -15,3 +15,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getDay", 'The value of x is not "getDay"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getDay.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert(
!Date.prototype.getDay.hasOwnProperty('length'),
'The value of !Date.prototype.getDay.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -17,3 +17,5 @@ assert(
for (var x in Date.prototype.getDay) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -20,3 +20,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getFullYear is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -17,3 +17,5 @@ assert(
!Date.prototype.hasOwnProperty('getFullYear'),
'The value of !Date.prototype.hasOwnProperty(\'getFullYear\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -15,3 +15,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getFullYear", 'The value of x is not "getFullYear"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getFullYear.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert(
!Date.prototype.getFullYear.hasOwnProperty('length'),
'The value of !Date.prototype.getFullYear.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -17,3 +17,5 @@ assert(
for (var x in Date.prototype.getFullYear) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -20,3 +20,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getHours is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -13,3 +13,5 @@ assert(
!Date.prototype.hasOwnProperty('getHours'),
'The value of !Date.prototype.hasOwnProperty(\'getHours\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -15,3 +15,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getHours", 'The value of x is not "getHours"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getHours.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert(
!Date.prototype.getHours.hasOwnProperty('length'),
'The value of !Date.prototype.getHours.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -17,3 +17,5 @@ assert(
for (var x in Date.prototype.getHours) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -20,3 +20,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getMilliseconds is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -17,3 +17,5 @@ assert(
!Date.prototype.hasOwnProperty('getMilliseconds'),
'The value of !Date.prototype.hasOwnProperty(\'getMilliseconds\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -15,3 +15,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getMilliseconds", 'The value of x is not "getMilliseconds"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getMilliseconds.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert(
!Date.prototype.getMilliseconds.hasOwnProperty('length'),
'The value of !Date.prototype.getMilliseconds.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -17,3 +17,5 @@ assert(
for (var x in Date.prototype.getMilliseconds) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -20,3 +20,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getMinutes is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -17,3 +17,5 @@ assert(
!Date.prototype.hasOwnProperty('getMinutes'),
'The value of !Date.prototype.hasOwnProperty(\'getMinutes\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -15,3 +15,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getMinutes", 'The value of x is not "getMinutes"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getMinutes.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert(
!Date.prototype.getMinutes.hasOwnProperty('length'),
'The value of !Date.prototype.getMinutes.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -17,3 +17,5 @@ assert(
for (var x in Date.prototype.getMinutes) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getMonth is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -12,3 +12,5 @@ assert(
!Date.prototype.hasOwnProperty('getMonth'),
'The value of !Date.prototype.hasOwnProperty(\'getMonth\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getMonth", 'The value of x is not "getMonth"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getMonth.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.getMonth.hasOwnProperty('length'),
'The value of !Date.prototype.getMonth.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype.getMonth) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getSeconds is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
!Date.prototype.hasOwnProperty('getSeconds'),
'The value of !Date.prototype.hasOwnProperty(\'getSeconds\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getSeconds", 'The value of x is not "getSeconds"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getSeconds.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.getSeconds.hasOwnProperty('length'),
'The value of !Date.prototype.getSeconds.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype.getSeconds) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getTime is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -12,3 +12,5 @@ assert(
!Date.prototype.hasOwnProperty('getTime'),
'The value of !Date.prototype.hasOwnProperty(\'getTime\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getTime", 'The value of x is not "getTime"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getTime.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.getTime.hasOwnProperty('length'),
'The value of !Date.prototype.getTime.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype.getTime) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -21,3 +21,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getTimezoneOffset is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.hasOwnProperty('getTimezoneOffset'),
'The value of !Date.prototype.hasOwnProperty(\'getTimezoneOffset\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getTimezoneOffset", 'The value of x is not "getTimezoneOffset"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getTimezoneOffset.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.getTimezoneOffset.hasOwnProperty('length'),
'The value of !Date.prototype.getTimezoneOffset.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype.getTimezoneOffset) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getUTCDate is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
!Date.prototype.hasOwnProperty('getUTCDate'),
'The value of !Date.prototype.hasOwnProperty(\'getUTCDate\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getUTCDate", 'The value of x is not "getUTCDate"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getUTCDate.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.getUTCDate.hasOwnProperty('length'),
'The value of !Date.prototype.getUTCDate.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype.getUTCDate) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getUTCDay is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -12,3 +12,5 @@ assert(
!Date.prototype.hasOwnProperty('getUTCDay'),
'The value of !Date.prototype.hasOwnProperty(\'getUTCDay\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getUTCDay", 'The value of x is not "getUTCDay"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getUTCDay.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.getUTCDay.hasOwnProperty('length'),
'The value of !Date.prototype.getUTCDay.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype.getUTCDay) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getUTCFullYear is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
!Date.prototype.hasOwnProperty('getUTCFullYear'),
'The value of !Date.prototype.hasOwnProperty(\'getUTCFullYear\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -14,3 +14,5 @@ assert(
for (var x in Date.prototype) {
assert.notSameValue(x, "getUTCFullYear", 'The value of x is not "getUTCFullYear"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert.sameValue(
x,
'The value of Date.prototype.getUTCFullYear.length is expected to equal the value of x'
);
// TODO: Convert to verifyProperty() format.

View File

@ -18,3 +18,5 @@ assert(
!Date.prototype.getUTCFullYear.hasOwnProperty('length'),
'The value of !Date.prototype.getUTCFullYear.hasOwnProperty(\'length\') is expected to be true'
);
// TODO: Convert to verifyProperty() format.

View File

@ -16,3 +16,5 @@ assert(
for (var x in Date.prototype.getUTCFullYear) {
assert.notSameValue(x, "length", 'The value of x is not "length"');
}
// TODO: Convert to verifyProperty() format.

View File

@ -19,3 +19,5 @@ assert.notSameValue(
x,
'The value of Date.prototype.getUTCHours is expected to not equal the value of `x`'
);
// TODO: Convert to verifyProperty() format.

Some files were not shown because too many files have changed in this diff Show More