Pass | assert_false(false, "HighlightRegistry.has returns false when it doesn't have the key which is called with as argument.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:28:5) |
Pass | assert_true(true, "HighlightRegistry.has returns true when it has the key which is called with as argument.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:30:5) |
Pass | assert_equals(1, 1, "HighlightRegistry.size is 1 after only inserting 1 key.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:31:5) |
Pass | assert_false(false, "HighlightRegistry.delete returns false when trying to delete an key that is not in the map.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:33:5) |
Pass | assert_equals(1, 1, "HighlightRegistry.size stays the same after trying to delete a non-existing key.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:34:5) |
Pass | assert_true(true, "HighlightRegistry.has returns true when it is called with the key inserted first")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:37:5) |
Pass | assert_true(true, "HighlightRegistry.has returns true when it is called with the key inserted second")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:38:5) |
Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", "HighlightRegistry.get returns the first Highlight when it is called with the key inserted first")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:39:5) |
Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", "HighlightRegistry.get returns the second Highlight when it is called with the key inserted second")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:40:5) |
Pass | assert_equals(2, 2, "HighlightRegistry.size is 2 after only inserting two different keys.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:41:5) |
Pass | assert_true(true, "HighlightRegistry.delete returns true when trying to delete a key that is in the group.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:43:5) |
Pass | assert_true(true, "HighlightRegistry.has returns true when it is called with the key inserted first")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:44:5) |
Pass | assert_false(false, "HighlightRegistry.has returns true when it is called with the key that was deleted")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:45:5) |
Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", "HighlightRegistry.get still returns the first Highlight when it is called with the key inserted first")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:46:5) |
Pass | assert_equals(undefined, undefined, "HighlightRegistry.get returns undefined when it is called with a key that was deleted")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:47:5) |
Pass | assert_equals(1, 1, "HighlightRegistry.size decreases in 1 after deleting an existing key.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:48:5) |
Pass | assert_false(false, "HighlightRegistry.delete returns false when trying to delete a key that was already deleted.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:50:5) |
Pass | assert_true(true, "HighlightRegistry.has returns true when it is called with the key inserted first")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:51:5) |
Pass | assert_false(false, "HighlightRegistry.has returns false when it is called with a key that was deleted twice")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:52:5) |
Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", "HighlightRegistry.get still returns the first Highlight when it is called with the key inserted first")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:53:5) |
Pass | assert_equals(undefined, undefined, "HighlightRegistry.get still returns undefined when it is called with a key that was deleted")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:54:5) |
Pass | assert_equals(1, 1, "HighlightRegistry.size stays the same after trying to delete the same key for a second time.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:55:5) |
Pass | assert_true(true, "HighlightRegistry.delete returns true when trying to delete the remaining key")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:57:5) |
Pass | assert_false(false, "HighlightRegistry.has returns false when it is called with the key inserted first and then deleted")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:58:5) |
Pass | assert_false(false, "HighlightRegistry.has returns false when it is called with the key inserted second and then deleted")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:59:5) |
Pass | assert_equals(undefined, undefined, "HighlightRegistry.get returns undefined when it is called with a key that was deleted")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:60:5) |
Pass | assert_equals(undefined, undefined, "HighlightRegistry.get returns undefined when it is called with a key that was deleted")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:61:5) |
Pass | assert_equals(0, 0, "HighlightRegistry.size decreases in 1 after deleting an existing key.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:62:5) |
Pass | assert_equals(1, 1, "HighlightRegistry.size keeps the same after an insertion of a Highlight with an existing name")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:66:5) |
Pass | assert_equals(object "[object Highlight]", object "[object Highlight]", "The Highlight inserted with the same name as an existing one was effectively inserted into the registry")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:67:5) |
Pass | assert_equals(0, 0, "HighlightRegistry.clear empties the map.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:70:5) |
Pass | assert_equals(0, 0, "HighlightRegistry.clear called with an empty registry keeps it empty.")
at Test.<anonymous> ( /css/css-highlight-api/HighlightRegistry-maplike.html:72:5) |