webtini test results: Wed, 23 Apr 2025 15:50:45 GMT
Tests: 85, Passed: 85, Failed: 0
AttributeBinder
- AttributeBinder.PREFIX unchanged
- new AttributeBinder()
- AttributeBinder.handleAttribute false without prefix
- AttributeBinder.handleAttribute true with prefix
- AttributeBinder.handleAttribute removes attribute with no data
- AttributeBinder.handleAttribute sets attribute with data
Binder
- Binder.PREFIX unchanged
- Binder.ATTRIBUTE unchanged
- new Binder()
- new Binder.Extension()
- Binder.Extension.handleElement default false
- Binder.Extension.handleAttribute default false
- Binder.bind succeeds with no parameters
- Binder.bind succeeds with no data
- Binder sets property with value
- Binder unsets property with missing value
- Binder sets nested property with value
- Binder unsets nested property with missing value
- Binder sets property with nested value
- Binder unsets property with missing nested value
- Binder binds descendants
- Binder binds Nodes
- Binder binds with dummy extension
- Binder triggers attribute extension
- Binder respects attribute extension return value
- Binder triggers element extension
- Binder respects element extension return value
- Defer postpones
- Defer ignores multiple calls per stack
- Defer applies the last call per stack
ClassBinder
- ClassBinder.PREFIX is unchanged
- new ClassBinder()
- ClassBinder.handleAttribute false without prefix
- ClassBinder.handleAttribute true with prefix
- ClassBinder.handleAttribute removes class with no data
- ClassBinder.handleAttribute adds class with data
EventBinder
- EventBinder.PREFIX is unchanged
- new EventBinder()
- EventBinder.handleAttribute false without prefix
- EventBinder.handleAttribute true with prefix
- EventBinder.handleAttribute assigns function to event
- EventBinder.handleAttribute removes event listener on non-function
Route
- new Route w/no arguments
- new Route with value
- Route.find finds match
- Route.find defaults to name
- new Route creates root
- Route.append adds next node
- Route.data returns second-to-last value
- Route.index returns last.name
- Route.value returns the node value
- Route.next and Route.parent and Route.root and Route.last
- Route iterates from root
- Route.clone maps from root
- Route.select generates valid route
- Route.select handles non-existent paths
- Route.assign fails single Route
- Route.assign to valid route
- Route.assign handles non-existent paths
- Route.assign calls setters only once
StyleBinder
- StyleBinder.PREFIX unchanged
- new StyleBinder()
- StyleBinder.handleAttribute false without prefix
- StyleBinder.handleAttribute true with prefix
- StyleBinder.handleAttribute removes style with no data
- StyleBinder.handleAttribute sets style with data
TemplateBinder
- new TemplateBinder()
- TemplateBinder.handleElement false with non-template
- TemplateBinder.handleElement true with template
- TemplateBinder.handleElement adds no instances for null
- TemplateBinder.handleElement single instance for non-array
- TemplateBinder.handleElement two instance for two item array
TextBinder
- new TextBinder()
- TextBinder parses null
- TextBinder parses empty string
- TextBinder parses simple text
- TextBinder parses single binding at end
- TextBinder parses single binding at front
- TextBinder parses single binding at middle
- TextBinder parses multiple bindings
- TextBinder parses escaped braces
- TextBinder.handleElement false for non-Text node
- TextBinder.handleElement true for Text node without bindings
- TextBinder.handleElement updates Text node with bindings
- TextBinder does not bind text in a style element