summaryrefslogtreecommitdiff
path: root/harness
Commit message (Collapse)AuthorAgeFilesLines
* improve propertyHelper for failure messages (#1480)Leo Balter2018-03-081-1/+1
| | | | | Example: Before: descriptor value should be 42 Expected SameValue(«1», «0») to be true After: descriptor value should be 42
* allow any function to report its toString as a NativeFunctionMichael Ficarra2018-03-071-0/+14
| | | | related: https://github.com/tc39/Function-prototype-toString-revision/pull/26
* Updates a portion of the BigInt tests that need work. Ref gh-1461 (#1462)Rick Waldron2018-02-271-2/+1
|
* Fix errors recently introduced. (#1448)Leo Balter2018-02-271-44/+9
| | | | | | | | | | | | | | | | | | | | | | * Fix bad references on tests for BigInt TypedArrays * Remove bad conversions for BigInt TypedArray * Cleanup the BigInt TypedArray harness file Remove non used code (testBigIntTypedArrayConversions) Move the constructors list to inside the exposed function, this prevents early implementations to fail before the function is called. * Fix bad references in TypedArrays.of (BigInt) * Remove BigInt tests from typedarray harness test * Use BigInt for BigInt typedArrays * Apply last fixings on BigInt TypedArray tests * Apply fixes to last revision from @anba
* Last cases of convertToBigIntLeo Balter2018-02-151-4/+0
|
* Remove N()Leo Balter2018-02-151-4/+2
|
* whitespaceLeo Balter2018-02-151-2/+1
|
* Restore original tests for TypedArrays and optimize filesLeo Balter2018-02-152-15/+78
| | | | | | | | | | | | | | - optimize file names - BigInt folder for TAs.from and of - copy tests preparing for bigint - copy ta prototype methods for bigint - Use an exclusive harness for bigint typedarrays - add features - use proper harness - use preper harness - Restore original tests for TypedArrays - final fixes - fix includes
* BigInt TypedArray testsRobin Templeton2018-02-151-2/+18
| | | | | | | | | | | | - add @jakobkummerow's changes - remove EOL whitespace - use 'Array.isArray' instead of 'instanceof Array' - check for BigInt type in toLocaleString tests - specify TypedArray constructor list for non-BigInt tests - update TypedArray harness test for BigInt - add a missing type coercion - disable more tests for Big(U)Int64Array - check for BigInt before using BigInt TypedArray constructors
* Add test cases for tc39/ecma402#194André Bargull2018-01-251-0/+3
|
* Remove harness/testBuiltInObject.js fileAndré Bargull2017-12-211-58/+0
|
* Move remaining testBuiltInObject callers to use normal assert callsAndré Bargull2017-12-212-0/+17
|
* No longer use testBuiltInObject for built-in objectsAndré Bargull2017-12-211-29/+20
|
* No longer use testBuiltInObject for built-in constructorsAndré Bargull2017-12-211-8/+3
|
* Add separate test files for property attributes of Intl propertiesAndré Bargull2017-12-211-31/+1
|
* Add separate test files to test the length property of Intl functionsAndré Bargull2017-12-211-26/+1
|
* Replace mustHaveProperty with verifyPropertyAndré Bargull2017-12-211-45/+0
|
* Replace mustNotHaveProperty with verifyPropertyAndré Bargull2017-12-211-13/+0
|
* Replace mayHaveProperty with verifyPropertyAndré Bargull2017-12-211-16/+0
|
* Update language tag mapping dataAndré Bargull2017-12-211-10/+78
|
* Add numbering system digits for 'bali' and 'limb'André Bargull2017-12-211-0/+2
|
* Update list of numbering systems to match CLDR 32André Bargull2017-12-211-4/+24
|
* Also test Intl.PluralRules if availableAndré Bargull2017-12-211-1/+9
|
* Inline testValidDateTimeComponentValue into single test using this functionAndré Bargull2017-12-211-16/+0
|
* Remove unused return value for testOptionAndré Bargull2017-12-211-3/+0
|
* Move test data for getLocaleSupportInfo into getLocaleSupportInfoAndré Bargull2017-12-211-7/+5
|
* Remove caching of getLocaleSupportInfo() return valueAndré Bargull2017-12-211-29/+1
|
* Replace testArraysAreSame with assert.compareArrayAndré Bargull2017-12-211-20/+0
|
* Remove unused return value from testWithIntlConstructorsAndré Bargull2017-12-211-7/+3
|
* Canada/East-Saskatchewan is no longer a valid time zone identifier (tzdata2017c)André Bargull2017-12-211-1/+1
|
* Remove unnecessary uses of let in harness.Aakash Patel2017-12-191-2/+2
| | | | | | The use of `let` is unnecessary here, particularly in a file that is needed to run any of the tests, even the ES5 tests. Removing it allows older engines to run older tests.
* getBigInt64Robin Templeton2017-10-241-0/+18
|
* Improve tests for BigInt.prototype.valueOf (#1256)Leo Balter2017-10-031-16/+0
| | | | | | | | | | * Improve tests for BigInt.prototype.valueOf * fixup! Improve tests for BigInt.prototype.valueOf * fixup! Improve tests for BigInt.prototype.valueOf * fixup! Improve tests for BigInt.prototype.valueOf
* Do not use BigInt literal without `features: [BigInt]` (#1253)Yusuke Suzuki2017-10-031-3/+3
| | | | | | | typeCoercion.js is included in several tests which are not marked as `features: [BigInt]`. Since BigInt is new feature, we should not make the above unrelated tests failed due to lack of BigInt syntax support. Close #1252.
* Add tests for BigInt.prototype.valueOf (#1234)Robin Templeton2017-10-021-0/+16
| | | | | | * BigInt valueOf tests * add features from typeCoercion.js
* BigInt.asUintN testsJosh Wolfe2017-09-121-1/+125
| | | | | | * typeCoercion.js supports ToIndex * typeCoercion.js supports ToBigInt * updated BigInt.asIntN type coercion tests to use typeCoercion.js
* harness/*: Eliminate unnecessary uses of features that would require ↵Rick Waldron2017-09-084-13/+13
| | | | "features: ..." tags
* Lint: harness features flag enforcement via linterRick Waldron2017-09-081-0/+3
|
* test for String.prototype.indexOf first parameter type coercionJosh Wolfe2017-09-081-3/+58
|
* more separation of ToInteger from ToNumberJosh Wolfe2017-09-081-26/+32
|
* use informative stack traces instead of loopsJosh Wolfe2017-09-081-184/+154
|
* type coercion harness utilitiesJosh Wolfe2017-09-081-0/+254
|
* Remove arrow function syntax from harness/assert.jsLeo Balter2017-09-081-1/+1
| | | | | After conversations in #1215, we need to catch up with the code that was previously produced before we set the features flags requirements.
* Fix indentation in harness/propertHelper.jsRick Waldron2017-08-311-2/+2
|
* Remove harness/simdUtilities.js because SIMD tests were removed and nothing ↵Doug Ilijev2017-08-031-433/+0
| | | | references it. (#1162)
* Update all harness files to pass linting. (#1153)Rick Waldron2017-07-1425-41/+180
| | | | | | | | | | | ``` $ 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>
* Fix typo in harness/arrayContains.jsRick Waldron2017-06-281-1/+1
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* harness test: arrayContains.jsRick Waldron2017-06-281-5/+11
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Temp renaming to get around case ignorance, part 2Rick Waldron2017-06-281-0/+2
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
* Make all harness/* file names consistent; update occurrences in testRick Waldron2017-06-282-2/+1
| | | | Signed-off-by: Rick Waldron <waldron.rick@gmail.com>