Leonardo Balter
e451026965
Fix minor typo on a test for Array#fill
2016-04-12 19:48:54 -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
Leonardo Balter
bf782c8421
s/id/esid
...
Fixes #477
2016-02-22 09:47:42 -05:00
Leonardo Balter
26785d40ca
Add tests for zero conversion on Array#indexOf and Array#lastIndexOf
...
Fixes #435
2016-02-05 19:17:26 -02:00
Tom Schuster
97c61513d8
Stop test262 from hanging Spidermonkey with an unimportant error message
2016-01-23 17:41:59 +01:00
André Bargull
ca61d9b876
Add missing tests for "length" and "name" properties of built-in functions
...
Note: Already uses the updated DataView function lengths from tc39/ecma262#266 (ES2016 Draft 2015-12-20)
2016-01-15 18:12:05 +01:00
André Bargull
5e3eed63b9
Move Symbol.species and AnnexB tests to new subfolders
2016-01-15 18:11:03 +01:00
Mike Pennisi
e39f8d88c5
Add tests for well-known Symbol: @@unscopables
2015-10-05 11:57:31 -04:00
André Bargull
df9bf58204
Tests for changes introduced in ES2015 (Annex E)
...
- String case functions iterate over code points
- Has called before Get in Array.p.reverse
- Add test for web-compat Array.p.splice behaviour; Plus missing test for no arguments case
- ToObject no longer applied to this-value in Array.p.toLocaleString
- ToObject no longer applied to this-value in Object.p.toLocaleString
- Add tests for Object.p.propertyIsEnumerable and symbol property keys
- Add tests for Object.p.hasOwnProperty and symbol property keys
- Test property descriptor attributes of message property
- Tests for RegExp constructor checks
- Date constructor when called with date object
- TimeClip never returns negative zero
2015-09-07 17:25:55 +02:00
Rick Waldron
9ccc663936
Merge pull request #415 from anba/remove-runTestCase-finally
...
Replace runTestCase when used with try-finally
2015-09-04 15:20:26 -04:00
Rick Waldron
f74b1cb02c
Remove leftover "includes: [runTestCase.js]"
2015-09-04 13:46:54 -04:00
Rick Waldron
a2554d909b
Merge branch 'remove-runTestCase-builtins-other' of https://github.com/anba/test262 into anba-remove-runTestCase-builtins-other
...
# By André Bargull
# Via André Bargull
* 'remove-runTestCase-builtins-other' of https://github.com/anba/test262 :
Replace runTestCase with assert helpers, rest [test/built-ins]
Replace runTestCase with assert helpers [test/built-ins]
Conflicts:
test/built-ins/Array/from/S22.1.2.1_T1.js
test/built-ins/Array/from/S22.1.2.1_T2.js
test/built-ins/Array/from/S22.1.2.1_T3.js
2015-09-04 13:25:41 -04:00
Rick Waldron
e80b669a37
Merge pull request #404 from bocoup/update-array-from
...
Update tests for Array.from
2015-09-02 17:37:30 -04:00
Leonardo Balter
3bdc467c51
Update tests for Array.from
...
- fixed a false positive where argument-passed-null.js was returning a TypeError from 22.1.2.1 step 5
- created 2 tests from argument-passed-null to assert this as null and items as null
- fixed reference info on Array.from_arity.js
- fix tests at Array.from_forwards-length-for-array-likes
- static checks on calling-from-valid-1-onlyStrict.js
- static checks on calling-from-valid-1-noStrict.js
- static checks on calling-from-valid-2.js
- removed create-typedarray-from.js, that test belong to es6id 22.2.2.1
- removed mapfn-invalid-typeerror-1.js - false positive from 22.1.2.1 step 5
- moved mapfn-invalid-typeerror-2.js to more spread tests where mapfn is not callable
- ...
2015-09-02 17:36:11 -04:00
Rick Waldron
574c87b167
Merge pull request #390 from bocoup/Array.prototype.copyWithin
...
Add tests for Array.prototype.copyWithin
2015-09-02 17:16:07 -04:00
Dan Ehrenberg
a58a3a0ad9
Fix Array.from_arity test
...
An extra newline in a comment prevented the import from being parsed properly.
2015-08-25 14:37:37 -07:00
André Bargull
4ec97779fd
Replace runTestCase with assert helpers, rest [test/built-ins]
2015-08-13 17:57:23 +02:00
André Bargull
1b14708467
Replace runTestCase with assert helpers [test/built-ins]
2015-08-13 17:50:58 +02:00
André Bargull
52a706c022
Replace runTestCase with assert, try-finally, [test/built-ins/Array]
2015-08-13 17:42:40 +02:00
André Bargull
edc902aff5
Replace runTestCase with assert.throws [test/built-ins/Array]
2015-08-11 17:44:26 +02:00
André Bargull
a3bfd5a61f
Replace runTestCase with assert helpers [test/built-ins/Array]
2015-08-06 18:19:54 +02:00
André Bargull
174f24b2f3
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/reduceRight]
2015-08-06 18:19:31 +02:00
André Bargull
df43797c70
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/reduce]
2015-08-06 18:18:58 +02:00
André Bargull
976a687b27
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/map]
2015-08-06 18:18:33 +02:00
André Bargull
e2e4fa4c93
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/filter]
2015-08-06 18:17:56 +02:00
André Bargull
354b7cc11b
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/lastIndexOf]
2015-08-06 18:17:18 +02:00
André Bargull
7510a91a7e
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/indexOf]
2015-08-06 18:16:54 +02:00
André Bargull
659aa4c0f8
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/some]
2015-08-06 18:16:23 +02:00
André Bargull
a87aedd8a5
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/every]
2015-08-06 18:15:59 +02:00
André Bargull
e8246fd9f0
Replace runTestCase with assert helpers [test/built-ins/Array/prototype/forEach]
2015-08-06 18:14:23 +02:00
André Bargull
da6c9b964c
Remove invalid Array.from test
2015-08-05 07:25:31 +02:00
unknown
e3cf0acb1c
update tests for Array.from
2015-08-03 18:20:24 +08:00
Leonardo Balter
e72f4bcd62
fixup! Add tests for Array.prototype.copyWithin
2015-07-31 16:46:46 -04:00
Leonardo Balter
2a32ff4a66
fixup! Add tests for Array.prototype.copyWithin
2015-07-31 16:44:28 -04:00
Brian Terlson
d40961b334
Merge pull request #378 from bocoup/Array.of
...
Add tests for Array.of
2015-07-27 17:27:20 -07:00
Brian Terlson
a89613b4f1
Merge pull request #388 from bocoup/array-find-and-findindex
...
Update tests for Array#find and Array#findIndex
2015-07-27 17:27:16 -07:00
Leonardo Balter
9ed21dc963
Update tests for Array.of
2015-07-27 20:19:09 -04:00
Leonardo Balter
6a440ee616
Update tests for Array.prototype.findIndex
2015-07-27 20:17:43 -04:00
Leonardo Balter
88435c5201
Update tests for Array.prototype.find
2015-07-27 20:17:43 -04:00
Leonardo Balter
e64e17f750
Add and update tests for Array.prototype.fill
2015-07-27 20:16:39 -04:00
Leonardo Balter
935da0827b
Add tests for Array.prototype.copyWithin
2015-07-27 20:14:45 -04:00
Brian Terlson
02fbde769c
Merge pull request #381 from bocoup/array-iterator-methods
...
Add and update tests for Array.prototype iterator methods.
2015-07-27 17:08:19 -07:00
Brian Terlson
791b25ebbc
Merge pull request #377 from bocoup/symbol-iterator
...
Add tests for @@iterator
2015-07-27 16:45:51 -07:00
Mike Pennisi
71fa7b570c
Add tests for @@isConcatSpreadable
2015-07-24 14:42:35 -04:00
Brian Terlson
2284a46ebf
Merge pull request #385 from anba/license
...
Change license headers to standard format
2015-07-17 11:03:07 -07:00
André Bargull
023c7aa69e
- Remove inline license
...
- Remove duplicate word
- Add missing license
2015-07-17 19:55:00 +02:00
André Bargull
a85f5039e0
Remove links to hg.ecmascript.org
2015-07-17 17:43:09 +02:00
Leonardo Balter
d6a96506f5
Add tests for Array.prototype.values
2015-07-16 19:27:21 -04:00
Leonardo Balter
bab81c5fca
Update tests for Array.prototype.entries
2015-07-16 18:29:13 -04:00
Leonardo Balter
8f14f236b8
Update tests for Array.prototype.keys
2015-07-16 18:17:12 -04:00