Brian Terlson
6311f00ce9
Remove enochian-enochian (fixes gh-227)
2015-04-21 15:08:19 -07:00
Brian Terlson
6d945e2a1e
Merge pull request #231 from bocoup/object-is
...
19.1.2.10 Object.is
2015-04-21 12:19:31 -07:00
Brian Terlson
5006855944
Merge pull request #234 from bocoup/fix-writable-check
...
Fix bug in `isWritable` utility function
2015-04-21 12:13:39 -07:00
Mike Pennisi
c27938a123
Fix bug in isWritable
utility function
...
Only attempt to re-set the property value in cases where it was
successfully modified as part of the function's execution. This avoids
errors when the underlying value is not writable. Rename the internal
result-tracking variable to make this more clear.
2015-04-21 15:00:26 -04:00
Rick Waldron
b3cbeaacb7
19.1.2.10 Object.is
...
7.2.9 SameValue(x, y)
2015-04-21 14:25:53 -04:00
Brian Terlson
e9593a3d65
Merge pull request #220 from bocoup/for-of-more-control-flow
...
Additional control flow tests for `for..of` statements
2015-04-21 10:55:42 -07:00
Brian Terlson
c273eb81ce
Merge pull request #233 from bocoup/improve-same-value
...
Extend assertion error messages
2015-04-21 10:45:17 -07:00
Mike Pennisi
c91267235c
Extend assertion error messages
...
When invoked without a custom assertion message, `assert.sameValue` and
`assert.notSameValue` automatically create a message that describes the
actual and expected values.
Extend both assertion methods to also include this information in cases
where a custom message has been specified.
2015-04-21 13:25:02 -04:00
Mike Pennisi
3bf5652774
Improve for..of
control flow tests
...
- Expand ambiguous assertion messages and assert execution paths more
finely.
- Improve variable names in `for..of` tests
While the object created by a GeneratorFunction may be considered an
"iterable", it is being used as an iterator in these tests. Naming the
variable according to the way it is used improves the readability of
the test body.
- Add 'features' attribute to test frontmatter
- Move tests
- Introduce additional `for..of` control flow tests
2015-04-21 12:55:27 -04:00
Brian Terlson
f1900713aa
Merge pull request #210 from bocoup/native-iterators
...
Import tests from Google V8 (native iterators)
2015-04-21 09:52:35 -07:00
Brian Terlson
8980d3f929
Merge pull request #228 from bocoup/arrow-functions
...
14.2 Arrow Function Definitions
2015-04-21 09:48:07 -07:00
Rick Waldron
93e9da29a0
14.2 Arrow Function Definitions
2015-04-20 19:53:06 -04:00
Mike Pennisi
e8cc40a0a8
Import tests from Google V8 (native iterators)
...
These tests are derived from the following files within the Google V8
project:
test/mjsunit/es6/typed-array-iterator.js
test/mjsunit/es6/arguments-iterator.js
test/mjsunit/es6/string-iterator.js
test/mjsunit/es6/collection-iterator.js
2015-04-20 19:15:34 -04:00
Brian Terlson
8af82000ed
Merge pull request #232 from caitp/non-printable-characters
...
remove non-printable characters from quoted strings in tests
2015-04-18 18:00:54 -07:00
Caitlin Potter
6e88ac5cec
remove non-printable characters from tests
2015-04-18 20:34:08 -04:00
Brian Terlson
5eb76070cb
Merge pull request #219 from Yaffle/patch-1
...
More tests for Math.round
2015-04-18 15:58:11 -07:00
Brian Terlson
b8711eb803
Merge pull request #229 from bocoup/restructure-generator-tests-2
...
Restructure generator tests 2
2015-04-18 15:50:23 -07:00
Brian Terlson
43a238bc0b
Merge pull request #197 from bocoup/harmony-symbols
...
Import tests from Google V8 (Symbol)
2015-04-18 15:49:46 -07:00
Brian Terlson
a6ca558d46
Merge pull request #218 from bocoup/templates
...
Import tests from Google V8 (templates)
2015-04-18 15:46:34 -07:00
Mike Pennisi
909156c61f
Add "features" metadata to existing tests
2015-04-15 18:47:34 -04:00
Mike Pennisi
5eb977a7c7
Move tests for generator method definitions
...
The project has recently changed the preferred location for generators
created via the MethodDefinition syntactic form.
2015-04-15 18:44:02 -04:00
Mike Pennisi
14cb6ca88e
Extend tests for LineTerminatorSequence
...
Add assertions for the "Line Separtator" and "Paragraph Separator" line
terminator code points.
2015-04-15 10:50:44 -04:00
Mike Pennisi
1c3c0704fd
fixup! Reorganize test files
2015-04-15 10:36:09 -04:00
Mike Pennisi
5fc17f9c2d
fixup! Remove test for unspecified behavior
2015-04-15 10:20:52 -04:00
Brian Terlson
b9e4a43f5e
Merge pull request #204 from bocoup/generator-parsing-2
...
Import tests from Google V8 (generator syntax)
2015-04-14 13:31:53 -07:00
Mike Pennisi
95a78b36d5
Add tests for additional generator function forms
2015-04-14 16:23:16 -04:00
Mike Pennisi
e14060bffb
Add asertions for Generator Statement syntax tests
...
Ensure that these forms result in objects that meet basic expectations
about generator functions.
2015-04-14 16:22:12 -04:00
Mike Pennisi
93d994df0f
Import tests from Google V8 (generator syntax)
...
These tests are derived from the following files within the Google V8
project:
test/mjsunit/es6/generators-parsing.js
2015-04-14 16:22:12 -04:00
Rick Waldron
c5c2078a3b
Merge pull request #225 from anba/malformed-yaml
...
Fix malformed YAML front matter
2015-04-13 14:58:19 -04:00
André Bargull
ffae2ca863
Fix malformed YAML front matter
2015-04-13 20:53:44 +02:00
Brian Terlson
d7636d7cbe
Merge pull request #212 from caitp/issue-211
...
Add tests for %FunctionPrototype% restricted properties
2015-04-11 19:00:13 -07:00
Caitlin Potter
f398421ee7
Add tests for %FunctionPrototype% restricted properties
2015-04-11 20:46:27 -04:00
Brian Terlson
afa25f6cdc
Merge pull request #221 from bocoup/typeof
...
Update tests for `typeof` operator
2015-04-11 16:28:37 -07:00
Brian Terlson
506f9fe803
Merge pull request #217 from bocoup/rest-params
...
Import tests from Google V8 (Rest Parameters)
2015-04-08 17:29:49 -07:00
Brian Terlson
f5c848b026
Merge pull request #207 from anba/issue-98/update-currency
...
Changes for currency data
2015-04-08 16:08:37 -07:00
Brian Terlson
01bdfa6dd3
Merge pull request #209 from anba/issue-185,186/annexb-extensions
...
Don't use Annex B extensions in main test suite
2015-04-08 16:08:04 -07:00
Brian Terlson
3f04481646
Merge pull request #208 from anba/issue-103/array-find-update
...
Array.prototype.find does not skip holes
2015-04-08 16:07:24 -07:00
Brian Terlson
fd6f206d69
Merge pull request #194 from arv/function-length-is-configurable
...
Function length property is configurable
2015-04-08 15:58:30 -07:00
André Bargull
15cc639131
Strict eval variable declarations are lexically scoped, assign expected result value to a previously declared global (issue #35 )
...
Add missing variable declarations (issue #35 )
Split S12.6.3_A10 and S12.6.3_A10.1 because both files seem to test implicit global variables (issue #35 )
Changes (issue #35 )
- Add missing noStrict flags.
- Change 13.2-15-1 and 13.2-18-1 to use assert.js and propertyHelper.js (simplifies writable and configurable checks while in strict mode).
- Add variable declarations for globals.
- Create copies of S13.2.1_A6_T1 and S13.2.1_A6_T2 instead of adding variable declarations, because both files seem to test implicit global variables.
- Split S13_A14 and S13_A16 to work in strict mode.
- Remove assignment to .name property.
Add missing noStrict flags (issue #35 )
Add missing noStrict flags and variable declarations (issue #35 )
Add missing noStrict flags (issue #35 )
2015-04-08 15:54:58 -07:00
Brian Terlson
47dcfe8cac
Merge pull request #223 from bocoup/restructure-generator-tests
...
Re-structure generator tests
2015-04-08 10:23:28 -07:00
Mike Pennisi
c759cdb804
Re-structure generator tests
2015-04-08 11:08:48 -04:00
Brian Terlson
193605524e
Merge pull request #205 from caitp/patch-1
...
Add a test for String.prototype.concat() with single Object argument
2015-04-07 17:31:53 -07:00
Brian Terlson
9fbd9eced1
Merge branch '201'
2015-04-07 16:58:44 -07:00
Rick Waldron
dcdc9ba111
block-scope: corrections. Fixes gh-201
2015-04-07 16:58:04 -07:00
Brian Terlson
550bd36feb
Merge pull request #157 from bocoup/harmony-array
...
Import tests from Google V8 (Array.prototype.{fill, find, findIndex}, Array.{from, of})
2015-04-07 16:51:58 -07:00
Mike Pennisi
29326da2a8
Normalize application of typeof
operator
...
Consistently use the `typeof` operator without the grouping operator
(and include one explicit test to ensure the validity of this pattern
generally).
2015-04-07 17:37:45 -04:00
Mike Pennisi
3dce857e32
Update tests to use assertion library
2015-04-07 17:37:45 -04:00
Mike Pennisi
663f6776aa
Add ES6 IDs
2015-04-07 17:37:45 -04:00
Mike Pennisi
9c42c10e48
Correct error in test descriptions
2015-04-07 17:37:45 -04:00
Mike Pennisi
5acd66e10a
Rename test files
...
According to the new test organization scheme, specification
identification references should be encoded within the test file itself,
and the file should be named according to the semantics of the test.
2015-04-07 17:37:40 -04:00