Commit Graph

994 Commits

Author SHA1 Message Date
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
Brian Terlson ce98c25647 Merge pull request #406 from bocoup/fix-missing-var
Fix missing variable declaration
2015-08-05 18:46:02 -07:00
Leonardo Balter e1ec3c29b3 Fix missing variable declaration
Fixes #405
2015-08-05 20:04:02 -04:00
Brian Terlson e06ede9a65 Merge pull request #401 from anba/remove_invalid_array_from_test
Remove invalid Array.from test
2015-08-05 13:32:32 -07:00
Brian Terlson 8870e7bf34 Merge pull request #394 from smikes/quoted-sameValue-strings
Use guillemets («») to quote string values - fixes #174
2015-08-05 11:20:18 -07:00
Brian Terlson 3a7db54b3e Merge pull request #403 from bocoup/fixes-proxy
Small fixes on Proxy constructor tests
2015-08-05 11:02:26 -07:00
André Bargull da6c9b964c Remove invalid Array.from test 2015-08-05 07:25:31 +02:00
Brian Terlson 91e1a0b761 Merge pull request #376 from yanlxu/Array.from
update tests for Array.from
2015-08-04 16:04:21 -07:00
unknown e3cf0acb1c update tests for Array.from 2015-08-03 18:20:24 +08:00
Leonardo Balter fbf3b89870 Small fixes on Proxy constructor tests 2015-07-31 17:03:02 -04:00
Brian Terlson 258d2124ab Merge pull request #397 from anba/intl_move
Move intl tests to sub-folders
2015-07-31 09:51:56 -07:00
André Bargull 932bd1a12c Move intl tests to sub-folders 2015-07-31 17:12:08 +02:00
smikes 4a6f28f075 Use guillemets («») to quote string values - fixes #174
Expected/actual values should be delimited in a way that
isn't confusable with actual string quotes " '
2015-07-30 20:13:49 -06:00
Brian Terlson eea8807d40 Merge pull request #355 from anba/regexp-unicode
B.1.4 and Unicode RegExps
2015-07-30 15:31:16 -07:00
André Bargull d1f718f806 Change test descriptions 2015-07-29 17:24:16 +02:00
André Bargull 99e32c6912 Add assertion messages 2015-07-29 17:23:48 +02: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
Brian Terlson 3e11231718 Merge pull request #389 from bocoup/Array.prototype.fill
Add and update tests for Array.prototype.fill
2015-07-27 17:27:12 -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
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
Brian Terlson d54ff00df2 Merge pull request #369 from littledan/master
Reinforce test for the use of ToLength(lastIndex) in RegExp
2015-07-24 14:00:45 -07:00
Brian Terlson cd4461c89e Merge pull request #380 from bocoup/String.prototype.endsWith
Add and update tests for String.prototype.endsWith
2015-07-24 12:51:52 -07:00
Brian Terlson c699bc84e4 Merge pull request #379 from bocoup/String.prototype.startsWith
Add tests for String.prototype.startsWith
2015-07-24 12:51:33 -07:00
Leonardo Balter 33c791e722 String.prototype.startsWith 2015-07-24 15:29:35 -04:00
Leonardo Balter cc4230564a String.prototype.endsWith 2015-07-24 15:28:35 -04:00
Brian Terlson bdd84fb6ae Merge pull request #352 from bocoup/es6-regexp-u
Add tests for RegExp `u` flag
2015-07-24 11:45:18 -07:00
Brian Terlson f673136e75 Merge pull request #371 from bocoup/symbol-is-concat-spreadable
Add tests for @@isConcatSpreadable
2015-07-24 11:44:45 -07:00
Mike Pennisi 9068608ab7 Add tests for RegExp `u` flag 2015-07-24 14:43:20 -04:00
Mike Pennisi 71fa7b570c Add tests for @@isConcatSpreadable 2015-07-24 14:42:35 -04:00
Brian Terlson 2dfcde4698 Merge pull request #375 from bocoup/String.prototype.includes
Add tests for String.prototype.includes
2015-07-23 16:20:39 -07:00
Leonardo Balter 096b31a05b String.prototype.includes 2015-07-23 18:50:59 -04:00
Brian Terlson 57b3d1752b Merge pull request #366 from bocoup/String.prototype.repeat
Add tests for String.prototype.repeat
2015-07-22 17:13:44 -07:00
Brian Terlson d2c6a3f142 Merge pull request #361 from bocoup/function-name
Add tests for function `name` attribute
2015-07-21 18:55:30 -07:00
Brian Terlson 43cf648ac7 Merge pull request #354 from bocoup/es6-regexp-y
Add tests for RegExp `y` flag
2015-07-21 18:48:26 -07:00
Mike Pennisi 2fe074134a Add tests for function `name` attribute
This change set includes tests for most invocations of the
SetFunctionName abstract operation in the ES2015 specification.
Practical testing considerations preclude the introduction of tests for
certain invocations:

- The project is still vetting methods to sustainably test the semantics
  of the Destructuring Binding pattern across all valid productions.
  - 13.3.3.6 Runtime Semantics: IteratorBindingInitialization
  - 13.3.3.7 Runtime Semantics: KeyedBindingInitialization
- Without a loader, there is no way to access a function object declared
  in an ExportDeclaration, so `name` assignment cannot be tested in
  these cases
  - 14.1.19 Runtime Semantics: InstantiateFunctionObject
  - 14.4.12 Runtime Semantics: InstantiateFunctionObject
  - 14.5.15 Runtime Semantics: BindingClassDeclarationEvaluation
  - 15.2.3.11 Runtime Semantics: Evaluation
2015-07-21 20:05:34 -04:00
Mike Pennisi 946121ec66 Add tests for RegExp `y` flag 2015-07-21 20:02:07 -04:00
Brian Terlson e427e67eb6 Merge pull request #358 from bocoup/promise
Extend test coverage for Promise built-in
2015-07-21 16:26:55 -07:00