Leonardo Balter
9aa4dced8d
Add tests for TypedArrays find
2016-04-22 10:34:30 -04:00
Leonardo Balter
bc8ae6e0ae
Fix test for TypedArray.prototype.forEach
2016-04-21 17:22:55 -04:00
Leonardo Balter
88f390d189
Add tests for TypedArrays copyWithin
2016-04-20 14:08:33 -04:00
Leonardo Balter
5e8b661050
Add tests for TypedArrays fill
2016-04-20 14:05:38 -04:00
jugglinmike
cf68c3be91
Correct invalid tests for the Date constructor
...
The millisecond representation of a given Date instance is dependent on
the local system's time zone settings. In order to pass consistently
across contexts, tests for this value must take the system configuration
into account.
Introduce a test harness utility function to encapsulate these concerns.
Re-use this function across all test files that assert the exact
millisecond representation of Date instances.
2016-04-19 17:00:59 -04:00
Leonardo Balter
04a3c28f7d
Add tests for conversion operations on TypedArrays
2016-04-19 12:18:52 -04:00
Mike Pennisi
b698c8b3ab
Add tests for Math constants
...
Closes gh-540
Because the specific value of each constant is specified as a
host-defined approximation, only the value type may be enforced by
Test262.
2016-04-18 14:39:37 -04:00
Mike Pennisi
f7aa31b41f
Remove over-specified tests
...
Except for a small set of expected input/output pairs, both ES5 and
ES2015 define the expected return value of these methods in terms of an
"implementation-dependent approximation." This makes it inappropriate to
enforce expectations for specific values, even if expressed imprecisely.
2016-04-18 14:36:49 -04:00
dtig
20d37a6f2f
Add SIMD test suite and utility functions ( #442 )
2016-04-18 14:26:15 -04:00
Leonardo Balter
e451026965
Fix minor typo on a test for Array#fill
2016-04-12 19:48:54 -04:00
Leonardo Balter
f3cc1fb983
Add tests for TypedArrays map
2016-04-12 15:41:38 -04:00
Leonardo Balter
e01371e12a
Add tests for TypedArrays forEach
2016-04-12 15:41:34 -04:00
Jordan Harband
45e5fc8889
Add `System.global` tests ( #567 )
2016-04-12 14:37:10 -04:00
Michael Ficarra
6b7cbb5035
add Function.prototype.toString tests, conforming to proposed revision
...
See the proposal at
https://tc39.github.io/Function-prototype-toString-revision/
2016-04-11 14:39:12 -04:00
Leonardo Balter
c15079e741
Remove surface tests for %TypedArray%.prototype.toString
...
Because Test262 asserts the strict equality of
`Array.prototype.toString` and `TypedArray.prototype.toString`, tests
for properties of the object do not need to be reproduced in both
location.
Ref gh-526
2016-04-07 11:36:15 -04:00
Jordan Harband
c95e673feb
Add tests for `String#padStart` and `String#padEnd`.
...
https://github.com/tc39/proposal-string-pad-start-end/issues/23
Closes gh-564
2016-04-06 15:13:52 -04:00
Leonardo Balter
755b0d6117
Add tests for typedArrays extensibility
...
Ref: https://github.com/tc39/test262/pull/536#issuecomment-200455389
2016-04-01 15:34:14 -04:00
Leonardo Balter
3cb20b9df5
Add tests for internal methods of typedArray instances
...
Test specific behaviour for Integer Indexed exotic objects, WRT the
following internal methods:
- [[GetOwnProperty]]
- [[HasProperty]]
- [[DefineOwnProperty]]
- [[Get]]
- [[Set]]
- [[OwnPropertyKeys]]
2016-03-28 10:38:24 -04:00
Leonardo Balter
887b379421
Add tests for ArrayBuffer.isView
2016-03-24 12:14:26 -04:00
Leo Balter
35b93bb5c2
Merge pull request #548 from bocoup/random-fp
...
Avoid false positives
2016-03-24 10:49:44 -04:00
Leonardo Balter
ce503e638f
Add tests for detached buffer validation on TypedArray methods
2016-03-23 12:13:41 -04:00
Leonardo Balter
7499d3c208
Add missing surface tests for %TypedArray%.prototype.includes
2016-03-21 14:28:44 -04:00
Leonardo Balter
83b27c9beb
Add validation tests for TypedArray instance methods
2016-03-21 11:04:26 -04:00
Leonardo Balter
b26190f1ce
Add tests for TypedArray instance iterator methods
2016-03-21 11:04:25 -04:00
Leo Balter
0000bcd78c
Merge pull request #533 from bocoup/safe-integers
...
Add tests for Number.{MAX,MIN}_SAFE_INTEGER
2016-03-17 17:32:38 -04:00
Mike Pennisi
6e61c27aa5
Avoid false positives
...
As written, the test for `Math.random` would pass if the runtime
erroneously produced a non-numeric value. Add the necessary assertions
to guard against this case.
2016-03-17 17:12:54 -04:00
Leo Balter
86ff467767
Merge pull request #525 from anba/throw-type-error
...
Improve coverage %ThrowTypeError% and default class constructors
2016-03-17 16:31:37 -04:00
Leo Balter
5357b1585b
Merge pull request #504 from bocoup/explicit-async
...
Make asynchronous test configuration explicit
2016-03-17 15:28:08 -04:00
Mike Pennisi
cb19235ba4
Add tests for Number.{MAX,MIN}_SAFE_INTEGER
2016-03-09 12:21:29 -05:00
Gorkem Yakin
6e912b0825
Merge pull request #518 from anba/typedarray_getownpropdesc_fixes
...
Fix test bugs
2016-03-02 13:22:29 -08:00
Leonardo Balter
7445d77d6d
Update descriptor tests for %TypedArray%.prototype properties
2016-03-02 13:15:03 -08:00
Leonardo Balter
02cdfacd31
Add tests for %TypedArray%.prototype get methods
...
Includes buffer, byteLength, byteOffset, length, and @@toStringTag
2016-03-02 13:15:01 -08:00
Leonardo Balter
6c56658974
Add tests for _TypedArray_.prototype methods
2016-03-01 15:36:34 -05:00
André Bargull
c46f5ff4b7
Increase coverage for %ThrowTypeError%
2016-03-01 19:13:43 +01:00
André Bargull
1517615a21
Fix test bugs
2016-02-23 18:55:06 +01:00
Rick Waldron
104a134bc2
restore "info"
2016-02-22 16:41:45 -05:00
Rick Waldron
2a962f74be
id => esid
2016-02-22 14:47:47 -05:00
Rick Waldron
2a112a3190
Exponentiation Operator tests
2016-02-22 14:47:47 -05:00
Leonardo Balter
bf782c8421
s/id/esid
...
Fixes #477
2016-02-22 09:47:42 -05:00
Gorkem Yakin
bd33b2b8e5
Merge pull request #509 from bocoup/typedarray-object-set
...
Add tests for _TypedArrays_(object) using object properties
2016-02-19 16:33:40 -08:00
Jordan Harband
d530c87b41
Create `proxyTrapsHelper` to throw on all traps by default.
2016-02-13 15:56:47 -08:00
Leonardo Balter
c82ab8cdbd
Add extra tests for _TypedArrays_(object) using object properties
2016-02-13 03:55:53 -02:00
Gorkem Yakin
dbcc8cadf3
Merge pull request #507 from bocoup/remove-unused-file
...
Remove unused harness file
2016-02-12 17:16:01 -08:00
Gorkem Yakin
eeb44cbe09
Merge pull request #500 from bocoup/prms-guard-thenable-opt
...
Promise: Add tests to disallow faulty optimization
2016-02-12 17:06:34 -08:00
Gorkem Yakin
5de18ae0b6
Merge pull request #501 from bocoup/prms-then-ctor-access-count
...
Promise: Add test for constructor access count
2016-02-12 16:54:20 -08:00
Gorkem Yakin
428418d5c7
Replace remaining es7id tags with id
2016-02-12 16:27:10 -08:00
Leonardo Balter
ebda746e6a
Replace es7id tags with id
2016-02-12 16:22:56 -08:00
Leonardo Balter
76080eac08
Reuse %TypedArray%.from and .of tests on each TypedArray constructor
2016-02-12 16:02:36 -08:00
Leonardo Balter
048073a29a
Add tests for _TypedArray_.from and of
2016-02-12 16:02:36 -08:00
Leonardo Balter
35dce20ec4
Update tests for %TypedArray%.from and of
2016-02-12 16:02:36 -08:00