test262/harness
Philip Chimento b4c0aeda20 Bring existing toString options tests in sync with each other
Of the toString() methods that have options for printing a time with
seconds and fractional seconds, PlainTime seems to have the most
comprehensive set of tests. Bring all the others (Duration, Instant,
PlainDateTime, and ZonedDateTime) in sync with PlainTime, and edit the
PlainTime ones where necessary to include improvements from the others.

Tests:
  - fractionalseconddigits-invalid-string.js: copy and expand on
    PlainTime's more comprehensive set of invalid strings. Add assertion
    message. Fix front matter.
  - fractionalseconddigits-non-integer.js: Fix front matter.
  - fractionalseconddigits-out-of-range.js: make sure infinity is tested.
    Add assertion messages. Fix front matter.
  - fractionalseconddigits-undefined.js: copy PlainTime's more
    comprehensive test with whole minutes, whole seconds, and subseconds.
    Copy PlainTime's test of an empty function object. Add more
    descriptive variable names and assertion messages. Fix front matter.
  - fractionalseconddigits-wrong-type.js: inline and delete TemporalHelper
    used here; it was only good for this test anyway. Improve assertion
    messages.
  - smallestunit-valid-units.js: copy PlainTime's test with a second value
    with zero seconds even. Refactor repetitive tests into a loop. Copy
    the invalid unit "era" from the Instant test. Add assertion messages.
2022-04-13 10:46:20 +02:00
..
assert.js Add identity tests for the assert.throws 2021-09-21 16:45:27 -04:00
assertRelativeDateMs.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
async-gc.js Features: remove duplicate "cleanupSome" feature (#2892) 2021-11-04 13:27:30 -04:00
atomicsHelper.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
byteConversionValues.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
compareArray.js fix: ensure that symbol args as message don't break assert.compareArray 2021-10-05 15:16:53 -04:00
compareIterator.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
dateConstants.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
decimalToHexString.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
deepEqual.js Cleanup compareArray and deepEqual assertions, remove assert._formatValue 2019-10-09 17:57:10 -04:00
detachArrayBuffer.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
doneprintHandle.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
features.yml Make Atomics tests more resilient against intermittent failures (#1617) 2018-07-03 12:34:54 -04:00
fnGlobalObject.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
hidden-constructors.js Remove erroneous ArrowFunction 2020-10-07 16:43:48 -04:00
isConstructor.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
nans.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
nativeFunctionMatcher.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
promiseHelper.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
propertyHelper.js Deprecate some property helpers 2022-04-04 11:28:37 -04:00
proxyTrapsHelper.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
regExpUtils.js Add tests for \p{…} with properties of strings 2022-01-04 09:31:37 -05:00
sta.js chore: migrate $ERROR -> throw new Test262Error in .jshintrc, harness/sta.js (#3122) 2021-07-29 12:38:45 -07:00
tcoHelper.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
temporalHelpers.js Bring existing toString options tests in sync with each other 2022-04-13 10:46:20 +02:00
testAtomics.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
testBigIntTypedArray.js Atomics: corrections 2020-06-24 12:26:41 -04:00
testIntl.js Add helper functions to retrieve all calendars, collations, numberingSystems, and simple sanctioned units 2021-09-08 09:29:06 -04:00
testTypedArray.js Atomics: corrections 2020-06-24 12:26:41 -04:00
timer.js chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness 2021-07-21 15:15:55 -04:00
typeCoercion.js lint: add rule to verify use of harness files 2019-09-25 14:00:50 -04:00
wellKnownIntrinsicObjects.js native function validator for your consideration 2020-08-04 19:44:31 -04:00