Leo Balter
0a18f4068b
remove duplicates, fix fixture folder
2018-10-04 16:16:35 -04:00
Leo Balter
1846d33c29
Regenerate tests
2018-10-04 16:16:35 -04:00
Leo Balter
54689ffa69
Update checklist and other fixups
2018-10-04 16:16:35 -04:00
Leo Balter
e8305a7920
Regenerate tests
2018-10-04 16:16:35 -04:00
Leo Balter
24d1a78015
fix folders to fixtures
2018-10-04 16:16:35 -04:00
Leo Balter
bc13b8a7c1
Regenerate tests
2018-10-04 16:16:35 -04:00
Leo Balter
fdcb06e093
move catch tests to a separate folder
2018-10-04 16:16:35 -04:00
Leo Balter
6150f24d25
Regenerate tests
2018-10-04 16:16:35 -04:00
Rick Waldron
90e69a3b59
Dynamic Imports: eval export default class imports
2018-10-04 16:16:35 -04:00
Rick Waldron
a3eef3f39f
Generate tests
2018-10-04 16:16:35 -04:00
Rick Waldron
c77078809c
Dynamic Imports: initial cases, templates, non-generated tests and fixtures
2018-10-04 16:16:35 -04:00
Ujjwal Sharma
f8e0bf6751
intl: fix dicey test case
2018-10-04 14:30:22 -04:00
Leo Balter
5896ba49be
Generate tests
2018-10-04 10:32:01 -04:00
Ujjwal Sharma
ff8b10c448
intl: increase coverage for the Intl.NumberFormat constructor
...
Increase coverge for the Intl.NumberFormat constructor by testing that
Get(O, P) and ToString(arg) are properly called.
2018-10-03 17:32:33 -04:00
Leo Balter
48cf391412
Revert "Fix "undefiend" typo in unreserved-words.js ( #1816 )" ( #1819 )
...
This reverts commit 7e65999731
.
2018-10-03 17:11:05 -04:00
Andrew McCreight
7e65999731
Fix "undefiend" typo in unreserved-words.js ( #1816 )
...
I'm not an expert on this, but I'm pretty sure this is supposed to be "undefined" not "undefiend".
2018-10-03 15:14:41 -04:00
Frank Tang
a1c3929c35
remove "invalid" from invalid date of "cu" and "nu"
2018-10-03 13:22:29 -04:00
Ujjwal Sharma
041d5acd5e
Update test to actually check properties
2018-10-03 13:13:58 -04:00
Ujjwal Sharma
de416c28c3
intl: increase coverage from the NumberFormat constructor
...
Improve coverage for the Intl.NumberFormat constructor by testing that
it accepts Array-like objects and handles them properly.
2018-10-03 13:13:58 -04:00
Ujjwal Sharma
cd55e30938
Update test to actually check properties
2018-10-03 11:07:06 -04:00
Ujjwal Sharma
af0f53bb40
intl: increase coverage for the NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat constructor by testing that
passing a string value to the Intl.NumberFormat constructor is
equivalent to passing an Array containing the same string value.
2018-10-03 11:07:06 -04:00
Richard Gibson
e064fcd7ce
Remove redundant JSON test
2018-10-03 11:06:32 -04:00
Richard Gibson
58e308753c
Fix grammar in JSON.stringify tests
2018-10-03 11:06:32 -04:00
Richard Gibson
d961fcc905
Add feature for well-formed-stringify tests
2018-10-03 11:06:32 -04:00
Richard Gibson
ce967f7a86
Add tests for proposal-well-formed-stringify
...
* unpaired surrogate escape sequences
2018-10-03 11:06:32 -04:00
Richard Gibson
783fc5d8bb
Remove redundant test
2018-10-03 11:06:32 -04:00
Richard Gibson
d6e83453b2
Simplify and improve control character escaping tests
2018-10-03 11:06:32 -04:00
Richard Gibson
61fdc701fa
Remove duplicate test
2018-10-03 11:06:32 -04:00
Richard Gibson
950d58a7ca
Improve test description grammar
2018-10-03 11:06:32 -04:00
Rick Waldron
6581e84949
Intl.Locale: constructor-options-*.js fixups ( #1798 )
2018-10-03 10:24:38 -04:00
Rick Waldron
0ead0130ea
Intl.NumberFormat: cannot use assert.sameValue to compare object references.
2018-10-02 15:03:52 -04:00
Ujjwal Sharma
bba2429cad
intl: increase coverage for NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat constructor by adding tests
checking if appropriate default values are used.
2018-10-02 14:51:22 -04:00
Frank Tang
5de1831c48
Remove "ar-ma-u-ca-islamicc" test
2018-10-02 14:50:45 -04:00
Ujjwal Sharma
e9946587b9
Update test to include object and symbol
2018-10-02 14:49:00 -04:00
Ujjwal Sharma
bb7585bdaf
intl: increase coverage for NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat class contructor by adding
tests for checking that it calls ToObject on the options argument.
2018-10-02 14:49:00 -04:00
Ujjwal Sharma
24386286f1
Update filenames and fix failures
2018-10-02 14:48:37 -04:00
Ujjwal Sharma
2ecd230b63
Update test to include object and symbol
2018-10-02 14:48:37 -04:00
Ujjwal Sharma
5fe9773f44
intl: increase coverage for NumberFormat constructor
...
Increase coverage for the Intl.NumberFormat class contructor by adding
tests for checking that it calls ToObject on the locales argument.
2018-10-02 14:48:37 -04:00
Ujjwal Sharma
5fae9deb1f
intl: rework Intl.NumberFormat.prototype.formatToParts tests
...
Rework the available tests for Intl.NumberFormat.prototype.formatToParts
to improve consistency and readability.
2018-09-27 11:03:16 -04:00
Ujjwal Sharma
41bf0ee344
intl: add assertion to test that the result for default parameter
...
Add an assertion to the test for default parameters in Intl.NumberFormat's
method formatToParts checking that both the values are equal to the correct
result.
2018-09-27 11:00:55 -04:00
Leo Balter
d544eacedf
assert calls order for Symbol.match on matchAll usage ( #1795 )
...
Fix #1794
2018-09-26 11:37:19 -04:00
Rick Waldron
37190a1deb
Intl.Locale.prototype.numeric: the feature is not optional, therefore the tests are not optional
2018-09-26 11:06:03 -04:00
Ms2ger
584b651edf
Intl.Locale: Expect boolean values from the numeric getter.
...
The spec changed in <https://github.com/tc39/proposal-intl-locale/pull/59 >.
2018-09-26 11:03:22 -04:00
Ms2ger
5b0f7e19db
Intl.Locale: Refactor the tests for the numeric option.
2018-09-26 11:02:40 -04:00
André Bargull
3a1bcae4d1
Expect leading sign when the input is negative zero
2018-09-26 10:38:35 -04:00
André Bargull
d9f67d53d1
Move the extra precision tests into separate files
...
This will allow implementations to test the rest of the number formatting tests,
even if the extra precision support isn't implemented.
2018-09-26 10:38:35 -04:00
André Bargull
4bc96880a1
Add missing explicit ToString conversion for symbol values and ensure the expected NaN result is a (locale-dependent) string
2018-09-26 10:38:35 -04:00
André Bargull
3febd4c536
Update matchAll tests to reflect latest spec proposal
2018-09-26 10:38:35 -04:00
Leo Balter
46fcbf81d1
Generate tests
2018-09-26 09:18:46 -04:00
jugglinmike
42ed4291f5
Refactor increment/decrement tests for parsers ( #1786 )
...
The tests for the parsing of postfix increment, postfix decrement,
prefix increment, and prefix decrement were expressed using `eval`.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.
Remove the use of `eval` and instead express the expectations with
literal source text.
2018-09-24 12:29:30 -04:00
Kevin Gibbons
89ec038cf2
remove some trailing commas in calls
2018-09-21 10:04:33 -04:00
Ujjwal Sharma
cdd91e2895
Improve ToNumber test for NumberFormat.format
2018-09-20 17:25:14 -04:00
Ujjwal Sharma
7a87bde265
intl: increase coverage for NumberFormat.format
...
Increase test coverage for Intl.NumberFormat.prototype.format by adding
a check for testing if it calls ToNumber (7.1.3) on its argument.
2018-09-20 17:25:14 -04:00
Ujjwal Sharma
a6412918d2
Simplify default value check of NumberFormat.format
2018-09-19 15:23:30 -04:00
Ujjwal Sharma
cbfa2c5f00
intl: increase coverage for NumberFormat
...
Increase coverage for Intl.NumberFormat by adding a test for format
checking it's default value.
2018-09-19 15:23:30 -04:00
Kevin Gibbons
92a96f068e
Remove bigint feature flag for built-ins/Atomics/wait/was-woken-before-timeout.js
2018-09-19 10:58:34 -04:00
Kevin Gibbons
05cbb5f8ae
Fix feature flag in TypedArrayConstructors/Float32Array/length.js
2018-09-19 10:58:34 -04:00
Ujjwal Sharma
94cb047ab8
Update assert failure messages
2018-09-18 14:55:11 -04:00
Ujjwal Sharma
0c89259da5
intl: refactor tests for NumberFormat
2018-09-18 14:55:11 -04:00
Kubilay Kahveci
395adc3a7c
Generate tests
2018-09-18 14:16:20 -04:00
Ujjwal Sharma
fec7982e09
Update test case description
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
490f911ab6
Refactor value check for prop-desc
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
24c29db550
Rename initial-value to configurable and add initial check to prop-desc
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
e566c813b5
Add additional initial value tests
2018-09-18 11:42:59 -04:00
Ujjwal Sharma
c129ac8546
intl: improve coverage for Intl.NumberFormat
...
Add tests for Intl.NumberFormat.prototype[@@toStringTag].
2018-09-18 11:42:59 -04:00
Ms2ger
9271068a83
Intl: Add tests for throwing getters in options objects.
2018-09-18 11:39:47 -04:00
Ujjwal Sharma
12055caa1c
Add symbol to list of invalid targets
2018-09-17 15:59:58 -04:00
Ujjwal Sharma
db238a1abe
intl: improve coverage for Intl.NumberFormat
...
Add Intl.NumberFormat.prototype.formatToParts to the test
this-value-not-numberformat.js to check if a TypeError is thrown if the
"this" value for the function call isn't a valid NumberFormat object.
2018-09-17 15:59:58 -04:00
Leo Balter
3166523832
Add basic coverage for Symbol.asyncIterator
2018-09-17 10:50:33 -04:00
Andrew McCreight
c278f59416
Fix typo in test message
2018-09-14 12:05:16 -07:00
Leo Balter
317cacdcc9
Fix test generation
2018-09-13 14:55:32 -04:00
Rick Waldron
5c02a094cb
Generate tests
2018-09-13 10:23:49 -04:00
Rick Waldron
6bedd8f1c6
Merge pull request #1717 from leobalter/1711-fixes
...
Apply fixes on recent class element tests
2018-09-11 11:22:43 -04:00
Rick Waldron
2c714ede1d
Merge pull request #1719 from leobalter/private-fields-methods-whitespace-syntax-error
...
Private fields and methods whitespace syntax error
2018-09-11 11:20:44 -04:00
Leo Balter
a17484e230
Generate Tests
2018-09-10 17:13:06 -04:00
Leo Balter
b056d138fa
generate tests
2018-09-10 14:15:40 -04:00
Leo Balter
5cdbf084a7
Generate tests
2018-09-10 14:13:39 -04:00
Rick Waldron
6aa46d0ddb
Merge pull request #1707 from leobalter/private-methods-args
...
Add class private methods (include static) to arguments templates
2018-09-10 11:57:40 -04:00
Leo Balter
a9837df144
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
e28a6f37d0
remove old duplicates
2018-09-10 11:20:40 -04:00
Leo Balter
7766d0fb66
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
94a40cb474
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
8524805f25
Final cases to move to tests generation
2018-09-10 11:20:40 -04:00
Leo Balter
bcfc576af4
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
daea4efc57
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
20217a7eeb
add cases for static method names named prototype
2018-09-10 11:20:40 -04:00
Leo Balter
ef591384d8
Remove old duplicate tests
2018-09-10 11:20:40 -04:00
Leo Balter
ee9739c699
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
af9bcfef5f
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
92c83dfbd4
Add cases for non-ctor methods containing direct super
2018-09-10 11:20:40 -04:00
Leo Balter
bf5661bf60
Generate tests
2018-09-10 11:20:40 -04:00
Leo Balter
46e03c3875
add generation cases for special methods with propname constructor
2018-09-10 11:20:40 -04:00
Leo Balter
93635ca3b2
Assert extensibility of dataview objects
2018-09-10 11:13:11 -04:00
Ms2ger
c52f9cb769
Intl: Add tests for subclassing Locale, ListFormat and RelativeTimeFormat.
...
Fixes #1705 .
2018-09-07 15:53:10 +02:00
Leo Balter
eae139d8ef
Generate tests
2018-09-04 17:10:51 -04:00
Leo Balter
2c9583a309
Generate tests
2018-09-04 12:40:30 -04:00
Leo Balter
8b91e600d6
Merge pull request #1701 from leobalter/1697-features
...
Add missing features tags for class fields templates and cases
2018-09-04 12:27:24 -04:00
Ms2ger
f98218f831
Intl.ListFormat: Initial tests. ( #1679 )
2018-08-31 15:53:11 -04:00
Leo Balter
a4faf41ed6
Generate tests
2018-08-31 15:22:43 -04:00
Ashley Hauck
835c85c26e
TypedArray.prototype.sort: check result of compareFn is immediately converted ToNumber ( #1694 )
2018-08-27 14:27:27 -04:00
Leo Balter
fa36c45083
Fix generated tests
2018-08-21 16:32:10 -04:00
Leo Balter
dbcd388154
Remove duplicate of test/language/statements/class/fields-privatename-constructor-err.js
2018-08-21 16:24:37 -04:00
Leo Balter
e25e53c0a7
Fix tests for #constructor
2018-08-21 16:11:27 -04:00
Leo Balter
45a31876e7
Fix tests for computed names in class fields - ctor and prototype
2018-08-21 15:50:39 -04:00
Leo Balter
3690d98e27
Generate tests
2018-08-21 12:47:19 -04:00
Leo Balter
dacc69a066
Generate tests
2018-08-21 12:17:05 -04:00
Leo Balter
9a7fa8cb91
Generate tests
2018-08-20 17:12:40 -04:00
Leo Balter
de1bbd65c8
Generate tests
2018-08-20 16:38:54 -04:00
Leo Balter
96809308fd
Generate tests
2018-08-20 16:38:54 -04:00
Leo Balter
c5a1a4a24b
Generate tests
2018-08-20 16:38:54 -04:00
Rick Waldron
331a3964d5
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
aee9dc163e
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
f222b94f2a
Generate tests
2018-08-20 16:38:53 -04:00
Rick Waldron
ad9fd16bd1
Class Fields: convert .js file to .case
2018-08-20 16:38:52 -04:00
Rick Waldron
1466650ca3
Class Fields: add private name propname errors
2018-08-20 16:38:52 -04:00
Rick Waldron
734544272b
Class Fields: convert propname-error into non-generated to avoid creating erroneous tests where restrictions do not align.
2018-08-20 16:38:52 -04:00
Rick Waldron
3996741ca0
Class Fields: Remove templates that cause erroneous tests to be created.
2018-08-20 16:38:52 -04:00
Rick Waldron
90e8859cdd
Class Fields: Updating frontmatter
2018-08-20 16:38:52 -04:00
Valerie R Young
5d014bdfba
classfields: field definition abrupt completion tests
...
# Conflicts:
# test/language/statements/class/classelementname-abrupt-completion.js
# test/language/statements/class/fielddefinition-initializer-abrupt-completion.js
# test/language/statements/class/super-fielddefinition-initializer-abrupt-completion.js
2018-08-20 16:38:52 -04:00
Leo Balter
1307fa8f44
some quick fixes for Array.prototype.{flat,flatMap} tests
2018-08-20 11:16:54 -04:00
Leo Balter
d263e2ccc9
Merge pull request #1686 from rhuanjl/proxyFlat
...
Array.prototype.{flat,flatMap} property access count
2018-08-20 10:44:16 -04:00
rhuanjl
1bffb14efb
Array.prototype.flat and Array.prototype.flatMap property access count
2018-08-20 06:31:04 +01:00
André Bargull
d7d154b3bc
Remove requirement that ToNumber(value) completes in less than $262.agent.MAX_TIME_EPSILON
...
$262.agent.MAX_TIME_EPSILON was intended to be used for callers like `Atomics.wait(typedArray, indexNumber, valueNumber, timeoutNumber)` where all parameters with the `Number` suffix denote values which are already Number values. It should not be used for `Atomics.wait(typedArray, indexObject, valueObject, timeoutObject)` where all parameters with the `Object` suffix denote values which are Object values, because in that case we'd require that `ToNumber(objectValue)` (potentially invoked multiple times) completes in less than 100 milliseconds (the default value for MAX_TIME_EPSILON).
Also removes $262.agent.MAX_TIME_EPSILON because it is now no longer used.
2018-08-19 10:29:29 -04:00
Leo Balter
ab436c4651
Merge pull request #1677 from tc39/ofe-use-verifyproperty
...
Object.fromEntries: use verifyProperty; add specification details
2018-08-17 18:06:19 -04:00
Leo Balter
d901922690
Merge pull request #1682 from Ms2ger/rtf-supportedLocalesOf
...
Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf.
2018-08-17 18:04:34 -04:00
Leo Balter
f9d549329a
Merge pull request #1681 from Ms2ger/rtf-pl-fix
...
Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.
2018-08-17 18:03:01 -04:00
Leo Balter
fcefbc7945
Merge pull request #1678 from Ms2ger/rtf-options-non-object
...
Intl.RelativeTimeFormat: Add some tests for non-object options arguments to the constructor.
2018-08-17 18:01:59 -04:00
André Bargull
cd101873ba
Fix expected values for 'quarter' in RelativeTimeFormat
2018-08-17 09:15:38 -07:00
André Bargull
0aa1f70c14
Fix typo: nofity -> notify
2018-08-17 07:48:44 -07:00
André Bargull
8879820a8f
Make RegExp/CharacterClassEscapes tests faster across all engines
2018-08-17 07:48:42 -07:00
Ms2ger
867b1ab87d
Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf.
2018-08-16 15:18:05 +02:00
Ms2ger
c82ea326a8
Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.
2018-08-16 10:04:31 +02:00
Ms2ger
3161b18f71
Intl.RelativeTimeFormat: Add some tests for non-object options arguments to the constructor.
2018-08-14 17:43:32 +02:00
Rick Waldron
ff475fce11
Object.fromEntries: use verifyProperty; add specification details
2018-08-13 15:15:02 -04:00
Rick Waldron
55ffeaf5cf
Object.fromEntries: fix file names
2018-08-13 12:24:57 -04:00
Kevin Gibbons
60b9467630
Two more simple tests
2018-08-13 10:25:09 -04:00
Kevin Gibbons
7f694d4718
Object.fromEntries: add basic tests
2018-08-13 10:25:09 -04:00
Rick Waldron
2c39868519
Merge remote-tracking branch 'ms2ger/rtf-supportedLocalesOf-basic'
...
* ms2ger/rtf-supportedLocalesOf-basic:
Intl.RelativeTimeFormat: Add a basic test for the functionality of supportedLocalesOf().
2018-08-10 15:36:01 -04:00
Rick Waldron
b893503aa8
Intl.DateTimeFormat: formatToParts nitpicking
2018-08-10 15:35:04 -04:00
Rick Waldron
c0e494eb6a
Merge branch 'patch-1' of git://github.com/phistuck/test262 into phistuck-patch-1
...
* 'patch-1' of git://github.com/phistuck/test262:
Added a legal part types test
2018-08-10 15:29:36 -04:00
Rick Waldron
9ddd49d49b
Merge branch 'remove-assert.throws.early' of git://github.com/mathiasbynens/test262 into mathiasbynens-remove-assert.throws.early
...
* 'remove-assert.throws.early' of git://github.com/mathiasbynens/test262:
Remove assert.throws.early
2018-08-10 15:26:31 -04:00
Rick Waldron
3a517cb7a7
Merge remote-tracking branch 'ms2ger/rtf-unit-invalid-plausible'
...
* ms2ger/rtf-unit-invalid-plausible:
Intl.RelativeTimeFormat: Test some plausible but unsupported unit arguments.
2018-08-10 15:23:25 -04:00
Rick Waldron
e900c559b6
Merge remote-tracking branch 'ms2ger/rtf-tonumber'
...
* ms2ger/rtf-tonumber:
Intl.RelativeTimeFormat: Add tests for ToNumber() in format/ToParts().
2018-08-10 15:23:06 -04:00
Rick Waldron
ec31d06622
Merge remote-tracking branch 'ms2ger/rtf-formatToParts-type'
...
* ms2ger/rtf-formatToParts-type:
Intl.RelativeTimeFormat: Add tests for the type of formatToParts results.
2018-08-10 15:22:31 -04:00
Rick Waldron
883da82d29
Merge remote-tracking branch 'ms2ger/rtf-pl'
...
* ms2ger/rtf-pl:
Intl.RelativeTimeFormat: Add some tests for different styles in Polish.
2018-08-10 15:21:57 -04:00
Ms2ger
d15e0f58fc
Intl.RelativeTimeFormat: Test some plausible but unsupported unit arguments.
2018-08-10 17:46:39 +02:00
Ms2ger
fcc9fb974b
Intl.RelativeTimeFormat: Add tests for ToNumber() in format/ToParts().
2018-08-10 17:45:44 +02:00
Ms2ger
59bc1d6a2f
Intl.RelativeTimeFormat: Add a basic test for the functionality of supportedLocalesOf().
...
This is based on test/intl402/NumberFormat/supportedLocalesOf/basic.js.
2018-08-10 17:21:08 +02:00
Ms2ger
f38722c021
Intl.RelativeTimeFormat: Add tests for the type of formatToParts results.
2018-08-10 16:14:10 +02:00
Ms2ger
1d8e1c8c4f
Intl.RelativeTimeFormat: Add some tests for different styles in Polish.
...
This is interesting because Polish has different output for the "short" and
"narrow" styles.
2018-08-10 14:29:00 +02:00