Commit Graph

1912 Commits

Author SHA1 Message Date
rwaldron e6556eeaed Removed duplicate of test/built-ins/Boolean/prototype/S15.6.3.1_A1.js 2021-08-11 10:53:01 -04:00
Rick Waldron 452c0e5c61
Automated assertion message update: Array * (#3140)
* Automated assertion message update: Array.from

* Automated assertion message update: Array.isArray

* Automated assertion message update: Array length property

* Automated assertion message update: Array.of

* Automated assertion message update: Array

* Automated assertion message update: Array.prototype.at

* Automated assertion message update: Array.prototype.concat

* Automated assertion message update: compareArray -> assert.compareArray
2021-08-10 14:51:54 -07:00
Rick Waldron bb93efdb6b
Automated assertion message update (#3136)
This also required manually fixing the "actual" and "expected" order of many assert.sameValue(...) calls.
2021-08-10 10:40:04 -07:00
Frank Tang 86e23998e3 Add more tests 2021-08-06 18:31:47 -04:00
Frank Tang 88d1ede7d6 Split the test and add more tests 2021-08-06 18:31:47 -04:00
Frank Tang bb4729126c Remove incorrect lines 2021-08-06 18:31:47 -04:00
Frank Tang ee94a2ce7f fix directory name 2021-08-06 18:31:47 -04:00
Frank Tang 35850e5782 Add Temporal.Calendar.prototype.daysIn* tests. 2021-08-06 18:31:47 -04:00
Rick Waldron e6c21464f5 Automated feature flag update 2021-08-05 18:44:17 -04:00
Frank Tang 1c722a8158 fix comments 2021-08-05 18:31:44 -04:00
Frank Tang a87f987e7f add more tests 2021-08-05 18:31:44 -04:00
Frank Tang d554db9438 Fix YAML indent issue 2021-08-05 18:31:44 -04:00
Frank Tang 2d480d4c76 Fix directory name 2021-08-05 18:31:44 -04:00
Frank Tang 52bb16f9a5 Add tests for Temporal.Calendar.prototype.dayOf* 2021-08-05 18:31:44 -04:00
Frank Tang 97967a37b3 fix id 2021-08-05 18:31:06 -04:00
Frank Tang 6cc2d81dab Split to different files and test throwing Error 2021-08-05 18:31:06 -04:00
Frank Tang b5a4033fcc Fix directory name 2021-08-05 18:31:06 -04:00
Frank Tang 932c931a70 Add tests for Temporal.Calendar.prototype.(year|month*|day) 2021-08-05 18:31:06 -04:00
Frank Tang 750ec2b581 Fix YAML 2021-08-05 18:30:13 -04:00
Frank Tang 8ebded4cfa use harness and add more tests 2021-08-05 18:30:13 -04:00
Frank Tang 7418ba62b1 rm throws-range-error.js 2021-08-05 18:30:13 -04:00
Frank Tang b58e01afca Fix YAML 2021-08-05 18:30:13 -04:00
Frank Tang 721245be53 Fix directory name 2021-08-05 18:30:13 -04:00
Frank Tang e17cc7b4bf Add test for Temporal.Calendar.prototype.dateUntil 2021-08-05 18:30:13 -04:00
Frank Tang 1a36125f25 Remove simple.js 2021-08-05 18:27:03 -04:00
Frank Tang 8f2434ba4d Fix directory name 2021-08-05 18:27:03 -04:00
Frank Tang 6ab8e86471 Add test for Temporal.Calendar.p.date(Add|FromFields) 2021-08-05 18:27:03 -04:00
Frank Tang a585faf566 split simple into different files 2021-08-05 18:27:03 -04:00
Frank Tang 173684422c Added back fiels incorrectly removed 2021-08-05 18:27:03 -04:00
Frank Tang df42e9a19b split into different add files 2021-08-05 18:27:03 -04:00
Frank Tang f772019855 Fix directory name 2021-08-05 18:27:03 -04:00
Frank Tang 1195736914 Add test for Temporal.Calendar.p.date(Add|FromFields) 2021-08-05 18:27:03 -04:00
Frank Tang bf1b3f585f Add abstract operation test for dateFromFields 2021-08-05 18:27:03 -04:00
Frank Tang c0b3a5f074 Add test for abrupt completion for dateAdd 2021-08-05 18:27:03 -04:00
Frank Tang 6c077667fc Fix directory name 2021-08-05 18:27:03 -04:00
Frank Tang 4a34d84b20 Add test for Temporal.Calendar.p.date(Add|FromFields) 2021-08-05 18:27:03 -04:00
André Bargull 47be34cef7 Split files which test for the property order of functions
So SpiderMonkey can run the other parts of these tests.
2021-08-05 18:23:52 -04:00
Shu-yu Guo 5a6577bcc9
Add missing array-find-from-last feature to unscopables test (#3130) 2021-08-03 13:17:38 -07:00
Mike Pennisi ab353c6e73 Correct tests and improve documentation
The tests for the "Array findFromLast" proposal were originally authored
based on related tests that had already been merged to the repository's
`main` branch [1]. While those new tests were under review, a number of
tests for the Resizable ArrayBuffer proposal were found to be incorrect
[2]. The problem was fixed for the tests in `main`, but because the
corresponding tests for "Array findFromLast" were not yet merged, the
error persisted there [3].

Apply the same correction to the new tests.

[1] https://github.com/tc39/test262/issues/3111
[2] https://github.com/tc39/test262/pull/3113
[3] https://github.com/tc39/test262/pull/3045
2021-08-02 12:20:09 -04:00
Mike Pennisi f9efc46142 Improve coverage for Error.prototype.constructor
Extend coverage to include the property's enumerability, writability,
and configurability.
2021-07-29 16:54:52 -04:00
Mike Pennisi 4ec3eaaeb9 Improve coverage for Error.prototype.toString
Extend coverage to include the property's enumerability, writability,
and configurability.
2021-07-29 16:54:52 -04:00
Mike Pennisi cbd69bd26f Improve coverage for Error.prototype.name
Extend coverage to include the property's writability and
configurability. Use the conventional `verifyProperty` harness function
to consolidate tests.
2021-07-29 16:54:52 -04:00
Mike Pennisi c138c2acbe Improve coverage for Error.prototype.message
Extend coverage to include the property's writability, configurability,
and value. Use the conventional `verifyProperty` harness function to
consolidate tests.
2021-07-29 16:54:52 -04:00
Rick Waldron 5ab89bbb55
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/parseInt (#3120) 2021-07-29 11:02:59 -07:00
Rick Waldron 8c3753020a
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/undefined (#3119) 2021-07-29 11:02:41 -07:00
Meir Blachman ad15eca476 chore: migrate $ERROR -> throw new Test262Error in test/built-ins/parseFloat 2021-07-29 10:29:03 -04:00
Rick Waldron ecf835778d
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/Object (#3090) 2021-07-28 13:50:06 -07:00
Rick Waldron ee3597ed57
chore: migrate $ERROR -> throw new Test262Error in test/built-ins/RegExp (#3092) 2021-07-28 13:49:34 -07:00
Wenlu Wang 915f7e79be Fix incorrect case 2021-07-28 13:53:14 -04:00
Wenlu Wang 74727cd4ed Fix CR issues 2021-07-28 13:53:14 -04:00