test262/test/built-ins
jugglinmike 162e8be99f
Add tests for Temporal.now.plainDateTime (#3037)
* Temporal.now.plainDateTime: import tests from prop

* Add required metadata

* Correct invalid test

Ensure the error is thrown due to the invocation of the provided method.
Add a separate test to verify how the method is invoked.

* Remove duplicated assertions

* Improve coverage

* Rewrite test to focus on Calendar parameter

The observable interactions with the "timeZone" parameter are verified
by another test which is named for that purpose.

* Remove non-standard test

This test's title suggests that it was intended to verify the behavior
when the "calendar" parameter was undefined. The expected behavior in
that case depends on the presence of a builtin calendar named
"undefined." Test262 cannot definitively assert the presence or absence
of such a calendar.

In contrast to the title, the test body actually uses the calendar name
"japanese."  Test262 cannot definitively assert the presence or absence
of such a calendar.
2021-07-16 09:25:55 -04:00
..
Array Test Array's toString() with non-callable "join" (#2973) 2021-04-15 20:51:08 -04:00
ArrayBuffer Append missing pipe character on "info:" lines (#3030) 2021-06-25 14:50:40 -04:00
ArrayIteratorPrototype Update tests to use APIs defined by included files 2019-09-25 13:59:24 -04:00
AsyncArrowFunction Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
AsyncFromSyncIteratorPrototype Use Promise chaining 2020-06-03 13:25:03 -04:00
AsyncFunction Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
AsyncGeneratorFunction Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
AsyncGeneratorPrototype Remove unnecessary "includes" directives 2019-09-25 13:59:24 -04:00
AsyncIteratorPrototype/Symbol.asyncIterator s/es6id/esid 2018-02-15 10:46:28 -05:00
Atomics Add missing includes to some Atomics.waitAsync tests 2020-10-19 17:26:47 -04:00
BigInt Test BigInt wrapper object 2021-04-20 09:58:16 -04:00
Boolean Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
DataView Resizable ArrayBuffer: DataView accessors (#3022) 2021-06-25 13:26:32 -04:00
Date Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
Error Increase precision of assertions for Error Cause 2021-05-11 17:37:15 -04:00
FinalizationRegistry Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
Function Update tests for ECMA262 #2216 2021-02-26 11:49:49 -05:00
GeneratorFunction Standardize built-in constructor testing 2020-10-06 12:01:34 -04:00
GeneratorPrototype Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
Infinity Improve coverage: value props of the global object 2019-09-27 15:39:10 -04:00
IteratorPrototype/Symbol.iterator
JSON add dup __proto__ in json test 2020-10-08 18:05:00 -04:00
Map Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
MapIteratorPrototype Ensure test file YAML blocks don't have a trailing space. (#2018) 2019-01-07 11:40:39 -02:00
Math Math.max/min - each element coerced 2020-12-10 09:19:02 -05:00
NaN Improve coverage: value props of the global object 2019-09-27 15:39:10 -04:00
NativeErrors Give Error cause tests the error-cause feature tag (#2977) 2021-04-23 15:53:14 -07:00
Number Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
Object Add tests for Object.hasOwn (#2995) 2021-06-16 17:35:06 -04:00
Promise Remove or relocate misleading tests 2021-05-11 17:36:28 -04:00
Proxy Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
Reflect Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
RegExp Fix lint error 2021-02-25 11:03:39 -05:00
RegExpStringIteratorPrototype Fleshed out tests for Symbol.matchAll, String.p.matchAll, RegExp.p[@@matchAll], and %RegExpStringIteratorPrototype% 2018-03-17 22:48:31 -05:00
Set Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
SetIteratorPrototype Ensure test file YAML blocks don't have a trailing space. (#2018) 2019-01-07 11:40:39 -02:00
SharedArrayBuffer Append missing pipe character on "info:" lines (#3030) 2021-06-25 14:50:40 -04:00
String Fix typos for at/prop-desc tests. (#2908) 2020-11-19 02:32:38 -08:00
StringIteratorPrototype
Symbol Add test for [[Description]] from `Symbol.for` (#2970) 2021-05-13 21:16:43 -04:00
Temporal Add tests for Temporal.now.plainDateTime (#3037) 2021-07-16 09:25:55 -04:00
ThrowTypeError Set function `length` and `name` in `CreateBuiltinFunction` 2021-01-29 09:45:20 -05:00
TypedArray Resizable ArrayBuffer: TypedArray methods (#3027) 2021-06-25 15:33:36 -04:00
TypedArrayConstructors Add missing features: [resizable-arraybuffer] (#3029) 2021-06-25 14:01:23 -04:00
WeakMap Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
WeakRef Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
WeakSet Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
decodeURI Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
decodeURIComponent Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
encodeURI Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
encodeURIComponent Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
eval Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
global Remove duplicate tests (#2377) 2019-09-27 16:31:44 -04:00
isFinite Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
isNaN Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
parseFloat Info: adds "sec-evaluatenew" step to info for all "not-a-constructor.js" tests. 2020-10-06 12:01:34 -04:00
parseInt Remove test code between license and front matter 2020-12-10 09:20:36 -05:00
undefined Improve coverage: value props of the global object 2019-09-27 15:39:10 -04:00