Gorkem Yakin
7f88f29328
Merge branch 'bocoup/global-object'
2016-04-25 11:09:49 -07:00
Mike Pennisi
eb644bb2da
Reduce reliance on fnGlobalObject.js
...
This harness function is not necessary in the majority of cases in which
it is used. Remove its usage to simplify tests and decrease the amount
of domain-specific knowledge necessary to contribute to the test suite.
Persist the harness function itself for use by future tests for ES2015
modules (such a helper is necessary for tests that are interpreted as
module code).
2016-04-25 11:09:21 -07:00
Gorkem Yakin
562133f4ba
Merge branch 'bocoup/symbol-cleanup'
2016-04-25 10:59:48 -07:00
Mike Pennisi
3d68fcc063
Increase coverage for Symbol constructor
...
Add new tests for invocation requirements; re-organize existing files
according to the language feature under test.
2016-04-25 10:59:22 -07:00
Gorkem Yakin
35c00cab92
Merge branch 'bocoup/ta-every-some'
2016-04-25 10:46:38 -07:00
Leonardo Balter
45ff661f75
Add tests for TypedArrays some
2016-04-25 10:46:22 -07:00
Leonardo Balter
3339406dd7
Add tests for TypedArrays every
2016-04-25 10:46:16 -07:00
Gorkem Yakin
a4fd0dc8f4
Merge branch 'bocoup-ta-interoperability'
2016-04-25 10:37:06 -07:00
Leonardo Balter
866626500c
Update tests for TypedArrays/DataView non-interoperable get accessor methods
...
Fixes gh-582
2016-04-25 10:36:50 -07:00
Gorkem Yakin
c26ef14ae0
Merge branch 'bocoup/ta-indexof'
2016-04-25 10:32:22 -07:00
Leonardo Balter
d1f02d0fb8
Add tests for TypedArrays lastIndexOf
2016-04-25 10:31:42 -07:00
Leonardo Balter
d46b0b1860
Add tests for TypedArrays indexOf
2016-04-25 10:31:38 -07:00
Gorkem Yakin
a432cde542
Merge pull request #534 from mythrialle/master
...
Removes special handling for UTC timezone in toISOString/15.9.5.43-0-1…
2016-04-25 10:02:19 -07:00
Mythri
664ec78fcc
Moves Date constructor outside of assert, so that it actually tests toISOString
2016-04-25 16:45:03 +01:00
Leonardo Balter
bc0a40c51c
Add tests for TypedArrays findIndex
2016-04-25 11:43:19 -04:00
Mythri
679d02a6ed
Fixed comments
2016-04-25 15:43:55 +01:00
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
Mythri
6376e4d833
Removes special handling for UTC timezon in toISOString/15.9.5.43-0-13.js
2016-03-10 15:38:33 +00: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