Leo Balter
6b66b82d88
Cleanup compareArray and deepEqual assertions, remove assert._formatValue
...
Fixes #2372
2019-10-09 17:57:10 -04:00
Mike Pennisi
a9111d7144
lint: add rule to verify use of harness files
...
Verify that every test file which references a harness file using the
"includes" directive also contains at least one reference to a value
defined in the harness file.
To support this check, extend each harness file with a list of values
which it defines.
2019-09-25 14:00:50 -04:00
Leo Balter
0fd3cf4d24
Some cleanup follow ups ( #2351 )
2019-09-18 14:15:53 -03:00
Ron Buckton
1056d8fde9
Add tests for regexp-match-indices ( #2309 )
...
* Add tests for regexp-match-indices
* Add tests for unicode matches based on presence of /u flag
* Added deepEqual helper, PR feedback
2019-09-18 13:39:12 -03:00
Alexey Shvayka
127c896cf2
Format symbols
2019-08-24 13:35:51 +03:00
Alexey Shvayka
c674362d1a
Use SameValue
2019-08-24 13:24:33 +03:00
Rick Waldron
8a2ec34200
harness/*: Eliminate unnecessary uses of features that would require "features: ..." tags
2017-09-08 12:25:44 -04:00
Rick Waldron
4ea2931f16
Update all harness files to pass linting. ( #1153 )
...
```
$ python tools/lint/lint.py --whitelist lint.whitelist harness/*.js
Linting 25 files.
Linting complete. 0 errors found.
```
- Renames detachArrayBuffer-$262.detachArrayBuffer.js -> detachArrayBuffer-host-detachArrayBuffer.js (previous naming prevents command-click from terminal)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-14 11:37:24 -04:00
Daniel Ehrenberg
abac4e0b19
Fix up compareArray
2017-04-27 19:33:41 -04:00
Daniel Ehrenberg
8cb7f59395
Create an assert.compareArray
...
This is a convenience function which tries to make tests easier
to read and write.
2017-04-27 19:33:40 -04:00
Rick Waldron
d797bb979e
Import tests from Google V8 (Array.prototype.{fill, find, findIndex}, Array.{from, of})
...
These tests are derived from the following files within the Google V8 project:
test/mjsunit/harmony/array-fill.js
test/mjsunit/harmony/array-find.js
test/mjsunit/harmony/array-findindex.js
test/mjsunit/harmony/array-from.js
test/mjsunit/harmony/array-of.js
2015-04-07 09:53:17 -04:00
Brian Terlson
2a74f0ec1b
Reorganize ./test
2014-12-07 15:33:09 -08:00