Leonardo Balter
813bb5166c
Remove precision-equivalency tests
...
Due to specs approximation values, some tests are invalid as the harness
helpers rely on another approximated values as Math.LN2.
2016-06-20 17:44:11 -04:00
Leonardo Balter
91d06f50b5
Update esid for Object.getOwnPropertyDescriptors
2016-06-15 18:09:58 -04:00
Leonardo Balter
60e61a15e0
Add tests for Number#toPrecision
2016-06-15 17:59:12 -04:00
Leo Balter
88bc7fe758
Merge pull request #672 from bocoup/spread-coverage
...
Improve coverage for "spread" operator
2016-06-14 09:47:35 -04:00
Leonardo Balter
cfc77c83e3
Update tests for TypedArrays, DataView and ArrayBuffer
...
Ref tc39/ecma262#410
2016-06-13 16:17:09 -04:00
Mike Pennisi
f91886421d
Generate tests
2016-06-11 17:44:14 -04:00
jugglinmike
dee1526ca7
Update tests concerning null-extending classes ( #658 )
...
The latest revision of ECMA262 makes special provisions for classes
which extend the `null` value [1]. Update the relevant tests
accordingly.
[1] https://github.com/tc39/ecma262/issues/543
2016-06-10 15:10:32 -04:00
jugglinmike
a2b3370b0b
Add tests for additional uses of @@toPrimitive ( #666 )
2016-06-10 15:08:59 -04:00
jugglinmike
ee7496f713
Add tests for usage of IsArray ( #667 )
2016-06-10 15:07:40 -04:00
jugglinmike
01fe0d331b
Add tests for Annex B `Object.prototype` methods ( #626 )
2016-06-08 12:41:26 -04:00
jugglinmike
f1c9cef154
Add test for NaN in OrdinaryDefineOwnProperty ( #648 )
...
These semantics are currently contested, but the test reflects the
intended behavior of the latest version of the specification.
2016-06-08 12:40:39 -04:00
Zibi Braniecki
aeb88953f0
Add tests for Intl.getCanonicalLocales
2016-06-07 14:52:04 -04:00
jugglinmike
07dcff3e27
Add tests for CreateByeDataBlock ( #663 )
...
Ensure that all bytes of newly-created Data Block are initialized to
zero.
2016-06-03 12:38:03 -04:00
jugglinmike
30fa3b36d0
Add tests for object coercion of Reference base ( #646 )
...
Occurs that when a PutValue or GetValue operation is applied to a
property reference with a primitive base, the base is first coerced to
an Object.
2016-06-03 10:56:59 -04:00
Leonardo Balter
c7f9b12cc4
Add tests for Array.prototype.includes
2016-06-01 15:35:00 -04:00
Leo Balter
2cf968cfad
Merge pull request #651 from bocoup/generation-dstr-assign
...
Re-format destructuring assignment tests
2016-06-01 14:00:09 -04:00
Leo Balter
1e75730d5f
Merge pull request #587 from bocoup/generation-annexb-fns
...
Add tests for Annex B "function in block" semantics (procedurally generated)
2016-05-31 17:45:48 -04:00
jugglinmike
30d4c04182
Improve test coverage for Symbol ( #645 )
2016-05-30 16:55:45 -04:00
jugglinmike
a12e271269
Add tests for RegExp.prototype.compile ( #632 )
2016-05-30 16:52:04 -04:00
Leo Balter
8f23cd6775
Merge pull request #607 from bocoup/envs
...
Add tests for Lexical Environment management
2016-05-30 16:13:33 -04:00
Leonardo Balter
f912927b1f
[TypedArrays] Apply code consistency fixes after checks with JSHint
2016-05-27 15:59:14 -04:00
Mike Pennisi
88879de735
Generate tests
2016-05-25 17:29:27 -04:00
Mike Pennisi
c24a206511
Re-format destructuring assignment tests
...
Utilize the test generation tool to increase coverage of destructuring
assignment semantics. Previously, only destructuring assignment in the
AssignmentExpression position was tested. With this change applied, the
same tests will assert expected behavior for destructuring assignment in
`for..of` statements, as well.
A limited number of tests are applied to the `for..in` statement as
well, but due to the iteration protocol observed by that statement, many
destructuring tests are not relevant, and others cannot be automatically
generated from this format.
2016-05-25 13:47:06 -04:00
Leonardo Balter
56b988883e
Add tests for %TypedArray%.prototype.includes
2016-05-25 10:31:55 -04:00
Leonardo Balter
d3effa125f
Add tests for DataView.prototype.setUint32
2016-05-25 10:28:01 -04:00
Leonardo Balter
d672cf24ea
Add tests for DataView.prototype.setUint16
2016-05-25 10:28:00 -04:00
Leonardo Balter
ab494e1e32
Add tests for DataView.prototype.setUint8
2016-05-25 10:28:00 -04:00
Leonardo Balter
88f427b4b9
Add tests for DataView.prototype.setInt32
2016-05-25 10:28:00 -04:00
Leonardo Balter
a9b65bdf2d
Add tests for DataView.prototype.setInt16
2016-05-25 10:28:00 -04:00
Leonardo Balter
138f8b1fdb
Add tests for DataView.prototype.setInt8
2016-05-25 10:27:59 -04:00
Leonardo Balter
1b64789ce0
Add tests for DataView.prototype.setFloat64
2016-05-25 10:27:59 -04:00
Leonardo Balter
da67e6b305
Add tests for DataView.prototype.setFloat32
2016-05-25 10:25:05 -04:00
Leonardo Balter
bc42c6ab5c
Add harness for byte conversion values
...
Update testTypedArrayConversions to require byteConversionValues
2016-05-25 10:10:50 -04:00
Leo Balter
28e707e367
Merge pull request #631 from bocoup/annex-b-date
...
Add tests for Annex B extns to Date.prototype
2016-05-19 20:20:36 -04:00
jugglinmike
2c33050732
Add tests for Annex B String.prototype.substr ( #628 )
2016-05-19 20:18:20 -04:00
jugglinmike
c6b0864d2b
Extend tests for Annex B String HTML methods ( #627 )
...
- Add tests for abrupt completion handling from ToString operations
- Add tests for method property descriptors
- Remove redundant assertion
2016-05-19 20:16:21 -04:00
Leo Balter
230dee1676
Merge pull request #585 from bocoup/generation-spread
...
Add tests for the spread operator (procedurally generated)
2016-05-19 18:15:48 -04:00
Mike Pennisi
18a2ba862d
Generate tests
2016-05-19 15:09:41 -04:00
jugglinmike
c6a152558d
Add tests for Annex B extn: __proto__ in obj init ( #633 )
2016-05-19 13:01:07 -04:00
jugglinmike
a0ddf7bfe4
Add tests for generator intrinsic default proto ( #636 )
2016-05-19 12:54:49 -04:00
Leonardo Balter
9565f013ce
Add tests for DataView.prototype.getUint8
2016-05-19 12:12:13 -04:00
Leonardo Balter
1567b685e2
Add tests for Dataview.prototype.getInt8
2016-05-19 12:12:12 -04:00
Leonardo Balter
5e767dc2bb
Add tests for DataView.prototype.getUint16
2016-05-19 12:12:12 -04:00
Leonardo Balter
673b63e83d
Add tests for DataView.prototype.getInt16
2016-05-19 12:12:12 -04:00
Leonardo Balter
7f8e559cda
Add tests for DataView.prototype.getUint32
2016-05-19 12:12:11 -04:00
Leonardo Balter
0d5b6ea20c
Add tests for DataView.prototype.getInt32
2016-05-19 12:12:10 -04:00
Leonardo Balter
c1cdf88281
Add tests for DataView.prototype.getFloat64
2016-05-19 12:12:10 -04:00
Leonardo Balter
47b323cf89
Add tests for DataView.prototype.getFloat32
2016-05-18 19:07:34 -04:00
Leonardo Balter
89c0a952fd
Add tests for DataView.prototype.byteOffset
2016-05-18 18:58:04 -04:00
Leonardo Balter
339a3527c9
Add tests for DataView.prototype.byteLength
2016-05-18 18:58:04 -04:00