abc

Summary

Harness status: OK

Found 25 tests

Details

ResultTest NameMessage
PassHighlight can be iterated when it's empty initializing the iterator with customHighlight[Symbol.iterator]()
Asserts run
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:37:7)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:38:7)
PassHighlight can be iterated when it's empty initializing the iterator with customHighlight.values()
Asserts run
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:37:7)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:38:7)
PassHighlight can be iterated when it's empty initializing the iterator with customHighlight.keys()
Asserts run
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:37:7)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:38:7)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight[Symbol.iterator]() and adding a range by passing it to the constructor
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:56:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:57:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:59:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:60:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight[Symbol.iterator]() and adding two ranges by passing them to the constructor
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:76:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:77:9)
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:79:9)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:80:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:82:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:83:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight.values() and adding a range by passing it to the constructor
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:56:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:57:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:59:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:60:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight.values() and adding two ranges by passing them to the constructor
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:76:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:77:9)
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:79:9)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:80:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:82:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:83:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight.keys() and adding a range by passing it to the constructor
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:56:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:57:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:59:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:60:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight.keys() and adding two ranges by passing them to the constructor
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:76:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:77:9)
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:79:9)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:80:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:82:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:83:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight[Symbol.iterator]() and adding a range by passing it to the add function
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:56:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:57:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:59:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:60:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight[Symbol.iterator]() and adding two ranges by passing them to the add function
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:76:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:77:9)
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:79:9)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:80:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:82:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:83:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight.values() and adding a range by passing it to the add function
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:56:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:57:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:59:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:60:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight.values() and adding two ranges by passing them to the add function
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:76:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:77:9)
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:79:9)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:80:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:82:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:83:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight.keys() and adding a range by passing it to the add function
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:56:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:57:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:59:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:60:9)
PassHighlight can be iterated over all of its ranges initializing the iterator with customHighlight.keys() and adding two ranges by passing them to the add function
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:76:9)
Pass
assert_equals(object "", object "", ".next() returns an element with .value corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:77:9)
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:79:9)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:80:9)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:82:9)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:83:9)
PassHighlight can be iterated when it's empty initializing the iterator with .entries()
Asserts run
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:94:5)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:95:5)
PassHighlight can be iterated over all of its ranges initializing the iterator with .entries() and adding a range by passing it to the constructor
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:111:7)
Pass
assert_equals(object "", object "", ".next() returns an element with .value[0] corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:112:7)
Pass
assert_equals(object "", object "", ".next() returns an element with .value[1] corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:113:7)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:115:7)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:116:7)
PassHighlight can be iterated over all of its ranges initializing the iterator with .entries() and adding two ranges by passing them to the constructor
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:132:7)
Pass
assert_equals(object "", object "", ".next() returns an element with .value[0] corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:133:7)
Pass
assert_equals(object "", object "", ".next() returns an element with .value[1] corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:134:7)
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:136:7)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value[0] corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:137:7)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value[1] corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:138:7)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:140:7)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:141:7)
PassHighlight can be iterated over all of its ranges initializing the iterator with .entries() and adding a range by passing it to the add function
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last range")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:111:7)
Pass
assert_equals(object "", object "", ".next() returns an element with .value[0] corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:112:7)
Pass
assert_equals(object "", object "", ".next() returns an element with .value[1] corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:113:7)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:115:7)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:116:7)
PassHighlight can be iterated over all of its ranges initializing the iterator with .entries() and adding two ranges by passing them to the add function
Asserts run
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:132:7)
Pass
assert_equals(object "", object "", ".next() returns an element with .value[0] corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:133:7)
Pass
assert_equals(object "", object "", ".next() returns an element with .value[1] corresponding to the first range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:134:7)
Pass
assert_false(false, "Highlight is iterable and .next() returns an element with .done===false when the iteration didn't go past the last highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:136:7)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value[0] corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:137:7)
Pass
assert_equals(object "[object StaticRange]", object "[object StaticRange]", ".next() returns an element with .value[1] corresponding to the second range added to the Highlight")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:138:7)
Pass
assert_true(true, "Highlight is iterable and .next() returns an element with .done===true when there are no more ranges to iterate")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:140:7)
Pass
assert_equals(undefined, undefined, "Highlight is iterable and .next() returns an element with .value undefined when there are no more ranges to iterate.")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:141:7)
PassHighlight can be iterated through when it's empty using forEach.
Asserts run
Pass
assert_true(true, "The ranges seen match the ranges added")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:163:5)
PassHighlight can be iterated through using forEach when it has one range that was added by passing it to the constructor
Asserts run
Pass
assert_true(true, "The ranges seen match the ranges added")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:180:7)
PassHighlight can be iterated through using forEach when it has two ranges that were added by passing them to the constructor
Asserts run
Pass
assert_true(true, "The ranges seen match the ranges added")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:197:7)
PassHighlight can be iterated through using forEach when it has one range that was added by passing it to the add function
Asserts run
Pass
assert_true(true, "The ranges seen match the ranges added")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:180:7)
PassHighlight can be iterated through using forEach when it has two ranges that were added by passing them to the add function
Asserts run
Pass
assert_true(true, "The ranges seen match the ranges added")
    at Test.<anonymous> ( /css/css-highlight-api/Highlight-iteration.html:197:7)