Commit Graph

2559 Commits

Author SHA1 Message Date
Leo Balter 38be52c525 fix usage of assertFalse
Fixes #1904
2018-10-26 14:34:24 -04:00
Leo Balter 1538a93bc1 typo 2018-10-25 13:30:18 -04:00
Leo Balter 09e608edad Add cases for ImportCall syntax reused in CallExpressions 2018-10-25 13:30:18 -04:00
Leo Balter ca87891961 Add case for valid import in a new covered expression 2018-10-25 13:30:18 -04:00
Leo Balter cd9ca65787 Generate tests 2018-10-25 13:30:18 -04:00
Leo Balter 51a0bad7d4 Generate tests 2018-10-25 13:30:18 -04:00
Leo Balter a347df3aae Add tests for invalid expressions with import() with early ReferenceErrors 2018-10-25 13:30:18 -04:00
Leo Balter d641be96b4 Add test for import() used from eval 2018-10-25 13:30:18 -04:00
Leo Balter 54aba308b7 import() must not allow a escape sequence 2018-10-25 13:30:18 -04:00
Ms2ger e847c6ebb0 Intl.Collator: Add a test for search and sort in German.
Ref: https://github.com/tc39/ecma402/issues/256.
2018-10-25 13:08:08 -04:00
Ms2ger 0d07ed06c0 Intl.Segmenter: Submit batch of V8 tests for segment(). 2018-10-25 10:15:11 -04:00
Leo Balter 91bf2474c2 Add more cases for import.meta and new promise instances 2018-10-24 12:27:40 -04:00
Leo Balter bcdc613df7 Add case for custom toprimitive operations 2018-10-24 12:27:40 -04:00
Leo Balter 23e9d7d58e Add another case for indirect module binding update
Also cases for double failing resolutions
2018-10-24 12:27:40 -04:00
Leo Balter aebfbdd9df Add more edgy cases for import()
Also rename test/language/expressions/dynamic-import/assignment-expression/
2018-10-24 12:27:40 -04:00
Ms2ger 0dcec72e34 Intl.ListFormat: Test the order of properties in the result of resolvedOptions(). 2018-10-24 12:22:08 -04:00
Ms2ger b8b93ec421 Intl.RelativeTimeFormat: Test the order of properties in the result of resolvedOptions(). 2018-10-24 12:21:25 -04:00
Rick Waldron 757491d4f8 Corrections to export * specifier paths. Fixes gh-1883 (#1894) 2018-10-24 12:17:56 -04:00
Ms2ger e1be2c8f8b Intl.Segmenter: Add some tests for the constructor. 2018-10-24 10:13:31 -04:00
Ms2ger 52dfda893d Intl.Segmenter: Test the order of properties in the result of resolvedOptions(). 2018-10-24 09:54:54 -04:00
Rick Waldron f247a5fe09 Revert "Improve assertion handling when comparison causes failure via coercion"
This reverts commit c49c356744.
2018-10-23 17:21:17 -04:00
Rick Waldron c49c356744 Improve assertion handling when comparison causes failure via coercion 2018-10-23 17:00:47 -04:00
Ms2ger 480f11f612 Intl.Segmenter: API tests for the segment method. 2018-10-23 16:18:05 -04:00
André Bargull c3e384c8c5 Add initial tests for import.meta (#1888)
Fixes #1342
2018-10-23 15:23:08 -04:00
Leo Balter 3936950114 Fix test previously invalid for strict mode 2018-10-19 12:43:39 -04:00
Leo Balter fc250a310c fix test with unnecessary async generator 2018-10-19 12:43:39 -04:00
Leo Balter 98b3cc95f7 flag resolved import specifiers in test files 2018-10-19 12:43:39 -04:00
Leo Balter c93b1075f5 Generate tests 2018-10-19 12:43:39 -04:00
Leo Balter 7ee8091259 Move namespace test files 2018-10-19 11:51:40 -04:00
Leo Balter 20b6a3b0a7 Move dynamic-import tests to test/language/expressions 2018-10-19 11:48:17 -04:00
Leo Balter e620039286 Add some more cases for import() 2018-10-18 17:17:54 -04:00
Leo Balter f1b337cf55 Generate tests 2018-10-18 17:06:26 -04:00
Leo Balter eedbf4cf1d Generate tests 2018-10-18 17:06:26 -04:00
Leo Balter aefadabda7 Generate tests 2018-10-18 17:06:26 -04:00
Leo Balter a4d102e020
Add tests for Assignment Expressions in Dynamic Imports (#1865) 2018-10-18 16:14:02 -04:00
André Bargull 100b3b4afe Add missing includes for await tests (#1874) 2018-10-18 12:02:25 -04:00
Maya Lekova b98c45ca5a AsyncFunction: Add tests ensuring the new 1-tick await behaviour (#1843)
* AsyncFunction: Add tests ensuring the new 1-tick await behaviour

This commit adds 3 tests ensuring the optimized behaviour of await
(see https://github.com/tc39/ecma262/pull/1250) in the following cases:
- async functions
- yielding from async generator functions
- for-await-of loops

* AsyncFunction: Add tests ensuring the monkey-patched promises behaviour

This commit adds 2 more tests ensuring the optimized behaviour of await
(see tc39/ecma262#1250) in the following cases:
- awaiting on a native promise with monkey-patched "then"
- awaiting on a non-native promise (a "thenable" object)

* AsyncFunction: Add tests ensuring the non-native promises behaviour

This commit adds 1 more tests ensuring the optimized behaviour of await
(see tc39/ecma262#1250) in the following cases:
- awaiting on a non-promise, non-thenable object

It also renames the previous test for non-promise (a "thenable" object)
to distinguish from the new case.

The commit adds checks for proper await/promises interleaving in the
aforementioned cases and includes a small code clean-up.

* AsyncFunction: Refactor tests ensuring the new 1-tick await behaviour

Gather all the tests to their appropriate folder and update copyright header.
2018-10-17 16:10:09 -04:00
André Bargull 4d6e47bca9 Change RelativeTimeFormat -> ListFormat in ListFormat test 2018-10-17 13:35:58 -04:00
Ms2ger fa16d7df3f Intl: Add tests for table iteration order.
The order was defined in <https://github.com/tc39/ecma402/pull/279>.
2018-10-17 12:59:38 -04:00
André Bargull d3e5b818d9 Revert "remove "invalid" from invalid date of "cu" and "nu""
This reverts commit a1c3929c35.
2018-10-17 07:46:46 -07:00
André Bargull faed4fb089 Fix various test issues 2018-10-17 07:45:33 -07:00
Leo Balter 2ac5f1766e Add tests for delete expression returning true on non reference types 2018-10-16 19:47:25 -04:00
Leo Balter 061a8ea63a
Merge pull request #1853 from leobalter/dyn-import-part3
Add more cases for dynamic imports
2018-10-15 14:36:01 -04:00
Ms2ger 3113b90d55 Intl.RelativeTimeFormat: Add some basic tests for CanonicalizeLocaleList. 2018-10-15 13:41:46 -04:00
Ms2ger e1d80f75c7 Intl.ListFormat: Add some basic tests for CanonicalizeLocaleList. 2018-10-15 13:41:46 -04:00
Ms2ger a3d91b12e5 Intl.ListFormat: Add a test for unsupported options combinations.
This was changed in https://github.com/tc39/proposal-intl-list-format/pull/27.
2018-10-15 13:40:52 -04:00
Frank Tang e5ae99c6ca Change tests to reflect https://github.com/tc39/proposal-intl-list-format/pull/27 (#1860)
* Changes Intl.ListFormat tests reflecting spec

Reflect https://github.com/tc39/proposal-intl-list-format/pull/27
while style:"narrow" and type is not "unit".

* add cases for throws

* remove commetns which cause lint error
2018-10-15 13:40:25 -04:00
Ujjwal Sharma 9dc33cc5b4 intl: fix mistyped test for array-like objects 2018-10-15 12:54:05 -04:00
Adrian Heine 21f6a86a6d Remove explicit sta.js includes
INTERPRETING.md states that sta.js has to be included unconditionally.
2018-10-15 12:45:55 -04:00
Rick Waldron 3bcb28e918 Generate tests 2018-10-15 12:43:16 -04:00