bramstein/knockout.selection

2014-03-11 10:43:54
the package.json must have a "testling" field
2014-03-11 10:35:39
2014-03-07 14:21:47
2014-03-07 13:50:19
2014-02-10 15:51:39
2014-02-10 15:50:06
2014-01-17 09:15:07
2014-01-16 17:26:36
2014-01-13 15:27:22
2013-11-05 15:25:47
2013-11-03 08:18:45
2013-11-03 07:56:03
2013-11-02 11:16:31
2013-10-04 14:30:58
2013-09-16 15:57:59
2013-09-16 15:48:02
2013-09-16 15:47:42
2013-09-16 14:30:44
2013-09-16 13:13:39
2013-09-16 08:50:34
2013-09-02 08:51:52
2013-09-02 08:40:58
2013-08-27 11:00:50
2013-08-27 11:00:25
2013-08-27 10:59:48
2013-08-27 10:13:32
2013-08-27 09:59:57
2013-08-27 09:48:13
2013-08-27 09:14:30
2013-08-27 09:10:46
2013-08-27 09:03:55
2013-08-27 09:23:49
8.0
✓9.0
✓25.0
✓3.6
✓19.0
✓5.1
6.0
✓12.0
✓next
6.0
6.0
4.2
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
idle timeout: 30 seconds with no output
2013-08-27 09:17:00
8.0
✓9.0
✓25.0
✓3.6
✓19.0
✓5.1
6.0
✓12.0
✓next
6.0
6.0
4.2
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
1..124 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in toggle selection mode with no selection has no elements marked as selected ok 35 Selection in toggle selection mode with no selection selects the clicked element ok 36 Selection in toggle selection mode with no selection select focused element on space ok 37 Selection in toggle selection mode with one item selected should have one selected item ok 38 Selection in toggle selection mode with one item selected selects another item ok 39 Selection in toggle selection mode with one item selected deselects an item by selecting it ok 40 Selection in off selection mode with no selection has no elements marked as selected ok 41 Selection in off selection mode with no selection does not select the clicked element ok 42 Selection in off selection mode with no selection does not select focused element on space ok 43 Selection in off selection mode with one item selected should have one selected item ok 44 Selection in off selection mode with one item selected should not select another item ok 45 Selection in off selection mode with one item selected should not deselect an item by selecting it ok 46 Selection in multiple selection mode updates the DOM when the selection data is changed ok 47 Selection in multiple selection mode updates the DOM when the focus changes ok 48 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 49 Selection in multiple selection mode updates focused field of the items when the focus changes ok 50 Selection in multiple selection mode with no selection has no elements marked as selected ok 51 Selection in multiple selection mode with no selection selects the clicked element ok 52 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 53 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 54 Selection in multiple selection mode with no selection select focused element on space ok 55 Selection in multiple selection mode with no selection selects first element on home ok 56 Selection in multiple selection mode with no selection selects last element on end ok 57 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 58 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 59 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 60 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 61 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 62 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 63 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 64 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 65 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 66 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 67 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 68 Selection in multiple selection mode with selected items expands the selection on space ok 69 Selection in multiple selection mode with selected items ignores ctrl key on space ok 70 Selection in multiple selection mode with selected items ignores shift key on space ok 71 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 72 Selection in multiple selection mode with selected items expands the selection with shift-click ok 73 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 74 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 75 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 76 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 77 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 78 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 79 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 80 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 81 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 82 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 83 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 84 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 85 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 86 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 87 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 88 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 89 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 90 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 91 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 92 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 93 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 94 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 95 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 96 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 97 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 98 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 99 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 100 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 101 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 102 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 103 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 104 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 105 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 106 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 107 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 108 Selection when data is given as a argument can have selected elements outside the shown elements ok 109 Selection when data is given as a argument can update the visible selection by clicking ok 110 Selection when data is given as a argument selects everything on ctrl-a ok 111 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 112 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 113 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 114 Selection error handling throws when data is not an observable array ok 115 Selection error handling throws when binding value is not an observable array ok 116 Selection error handling throws when attempting to use an undefined selection mode ok 117 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 118 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 119 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 120 Selection when switching mode switching to a non existing mode fails ok 121 EventMatcher has an empty handlers list ok 122 EventMatcher matches with one handler and one matcher ok 123 EventMatcher matches with multiple handlers ok 124 EventMatcher matches with multiple matchers # tests 123 # pass 123 # fail 0
idle timeout: 30 seconds with no output
2013-08-26 18:40:10
8.0
✓9.0
✓25.0
✓3.6
✓19.0
✓5.1
6.0
✓12.0
✓next
6.0
6.0
4.2
1..112 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 Selection error handling throws when attempting to use an undefined selection mode ok 105 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 106 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 107 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 108 Selection when switching mode switching to a non existing mode fails ok 109 EventMatcher has an empty handlers list ok 110 EventMatcher matches with one handler and one matcher ok 111 EventMatcher matches with multiple handlers ok 112 EventMatcher matches with multiple matchers # tests 111 # pass 111 # fail 0
1..112 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 Selection error handling throws when attempting to use an undefined selection mode ok 105 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 106 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 107 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 108 Selection when switching mode switching to a non existing mode fails ok 109 EventMatcher has an empty handlers list ok 110 EventMatcher matches with one handler and one matcher ok 111 EventMatcher matches with multiple handlers ok 112 EventMatcher matches with multiple matchers # tests 111 # pass 111 # fail 0
1..112 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 Selection error handling throws when attempting to use an undefined selection mode ok 105 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 106 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 107 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 108 Selection when switching mode switching to a non existing mode fails ok 109 EventMatcher has an empty handlers list ok 110 EventMatcher matches with one handler and one matcher ok 111 EventMatcher matches with multiple handlers ok 112 EventMatcher matches with multiple matchers # tests 111 # pass 111 # fail 0
1..112 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 Selection error handling throws when attempting to use an undefined selection mode ok 105 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 106 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 107 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 108 Selection when switching mode switching to a non existing mode fails ok 109 EventMatcher has an empty handlers list ok 110 EventMatcher matches with one handler and one matcher ok 111 EventMatcher matches with multiple handlers ok 112 EventMatcher matches with multiple matchers # tests 111 # pass 111 # fail 0
1..112 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 Selection error handling throws when attempting to use an undefined selection mode ok 105 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 106 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 107 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 108 Selection when switching mode switching to a non existing mode fails ok 109 EventMatcher has an empty handlers list ok 110 EventMatcher matches with one handler and one matcher ok 111 EventMatcher matches with multiple handlers ok 112 EventMatcher matches with multiple matchers # tests 111 # pass 111 # fail 0
1..112 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 Selection error handling throws when attempting to use an undefined selection mode ok 105 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 106 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 107 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 108 Selection when switching mode switching to a non existing mode fails ok 109 EventMatcher has an empty handlers list ok 110 EventMatcher matches with one handler and one matcher ok 111 EventMatcher matches with multiple handlers ok 112 EventMatcher matches with multiple matchers # tests 111 # pass 111 # fail 0
1..112 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 Selection error handling throws when attempting to use an undefined selection mode ok 105 Selection when switching mode switching to single mode, from multi with an active selection of 3 items should result in only the focused item being in the single mode selection. ok 106 Selection when switching mode verify that single mode works as expected when changing modes from multi mode. ok 107 Selection when switching mode verify that multi mode works as expected when changing modes from single mode. ok 108 Selection when switching mode switching to a non existing mode fails ok 109 EventMatcher has an empty handlers list ok 110 EventMatcher matches with one handler and one matcher ok 111 EventMatcher matches with multiple handlers ok 112 EventMatcher matches with multiple matchers # tests 111 # pass 111 # fail 0
idle timeout: 30 seconds with no output
2013-08-26 18:37:18
8.0
✓9.0
✓25.0
✓3.6
✓19.0
✓5.1
6.0
✓12.0
✓next
6.0
6.0
4.2
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
idle timeout: 30 seconds with no output
2013-08-22 22:23:34
8.0
✓9.0
✓25.0
✓3.6
✓19.0
✓5.1
6.0
✓12.0
✓next
6.0
6.0
4.2
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
1..107 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection in conditional rendering mode with selected items maintains focus, anchor and selection when dropping below the display threshold ok 100 Selection in conditional rendering mode with selected items cleans up focus, anchor and selection state when removing all items from the collection ok 101 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 102 Selection error handling throws when data is not an observable array ok 103 Selection error handling throws when binding value is not an observable array ok 104 EventMatcher has an empty handlers list ok 105 EventMatcher matches with one handler and one matcher ok 106 EventMatcher matches with multiple handlers ok 107 EventMatcher matches with multiple matchers # tests 106 # pass 106 # fail 0
idle timeout: 30 seconds with no output
2013-07-19 10:26:08
8.0
9.0
25.0
3.6
19.0
✓6.0
5.1
12.0
next
✓6.0
✓6.0
4.2
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
idle timeout: 30 seconds with no output
2013-07-19 10:23:15
8.0
9.0
25.0
3.6
19.0
✓6.0
5.1
12.0
next
✓6.0
✓6.0
4.2
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
idle timeout: 30 seconds with no output
2013-07-19 10:21:39
8.0
9.0
25.0
3.6
19.0
✓6.0
5.1
12.0
next
✓6.0
✓6.0
4.2
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
idle timeout: 30 seconds with no output
2013-07-18 11:18:47
8.0
9.0
25.0
3.6
19.0
✓6.0
5.1
12.0
next
✓6.0
✓6.0
4.2
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
1..105 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection when data is given as a argument can have selected elements outside the shown elements ok 97 Selection when data is given as a argument can update the visible selection by clicking ok 98 Selection when data is given as a argument selects everything on ctrl-a ok 99 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 100 Selection error handling throws when data is not an observable array ok 101 Selection error handling throws when binding value is not an observable array ok 102 EventMatcher has an empty handlers list ok 103 EventMatcher matches with one handler and one matcher ok 104 EventMatcher matches with multiple handlers ok 105 EventMatcher matches with multiple matchers # tests 104 # pass 104 # fail 0
idle timeout: 30 seconds with no output
2013-07-11 15:03:57
8.0
9.0
25.0
3.6
19.0
✓5.1
✓6.0
✓12.0
✓next
✓6.0
✓6.0
4.2
1..102 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 97 Selection error handling throws when data is not an observable array ok 98 Selection error handling throws when binding value is not an observable array ok 99 EventMatcher has an empty handlers list ok 100 EventMatcher matches with one handler and one matcher ok 101 EventMatcher matches with multiple handlers ok 102 EventMatcher matches with multiple matchers # tests 101 # pass 101 # fail 0
1..102 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 97 Selection error handling throws when data is not an observable array ok 98 Selection error handling throws when binding value is not an observable array ok 99 EventMatcher has an empty handlers list ok 100 EventMatcher matches with one handler and one matcher ok 101 EventMatcher matches with multiple handlers ok 102 EventMatcher matches with multiple matchers # tests 101 # pass 101 # fail 0
1..102 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 97 Selection error handling throws when data is not an observable array ok 98 Selection error handling throws when binding value is not an observable array ok 99 EventMatcher has an empty handlers list ok 100 EventMatcher matches with one handler and one matcher ok 101 EventMatcher matches with multiple handlers ok 102 EventMatcher matches with multiple matchers # tests 101 # pass 101 # fail 0
1..102 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 97 Selection error handling throws when data is not an observable array ok 98 Selection error handling throws when binding value is not an observable array ok 99 EventMatcher has an empty handlers list ok 100 EventMatcher matches with one handler and one matcher ok 101 EventMatcher matches with multiple handlers ok 102 EventMatcher matches with multiple matchers # tests 101 # pass 101 # fail 0
1..102 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 97 Selection error handling throws when data is not an observable array ok 98 Selection error handling throws when binding value is not an observable array ok 99 EventMatcher has an empty handlers list ok 100 EventMatcher matches with one handler and one matcher ok 101 EventMatcher matches with multiple handlers ok 102 EventMatcher matches with multiple matchers # tests 101 # pass 101 # fail 0
1..102 ok 1 Selection handles nested scoping ok 2 Selection with a dynamic observable array bound to foreach with a selection empties its selection when the observableArray bound to the foreach changes # SKIP - ok 3 Selection in single selection mode focuses selected element ok 4 Selection in single selection mode with no selection has no elements marked as selected ok 5 Selection in single selection mode with no selection selects the clicked element ok 6 Selection in single selection mode with no selection select focused element on space ok 7 Selection in single selection mode with no selection selects the element after the focused element on down-arrow ok 8 Selection in single selection mode with no selection selects the element before the focused element on up-arrow ok 9 Selection in single selection mode with no selection selects first element on home ok 10 Selection in single selection mode with no selection selects last element on end ok 11 Selection in single selection mode with no selection when first element is focused selects the focused element on up-arrow ok 12 Selection in single selection mode with no selection when last element is focused selects the focused element on down-arrow ok 13 Selection in single selection mode with no selection when the selection is set manually selects one item manually ok 14 Selection in single selection mode with no selection when the selection is set manually selects multiple items manually ok 15 Selection in single selection mode with one selected item has one selection ok 16 Selection in single selection mode with one selected item moves the selection to the clicked element ok 17 Selection in single selection mode with one selected item ignores clicks on selected element ok 18 Selection in single selection mode with one selected item ignores shift ok 19 Selection in single selection mode with one selected item ignores ctrl ok 20 Selection in single selection mode with one selected item selects next element on down-arrow ok 21 Selection in single selection mode with one selected item selects previous element on up-arrow ok 22 Selection in single selection mode with one selected item deselects item on space ok 23 Selection in single selection mode with one selected item selects first element on home ok 24 Selection in single selection mode with one selected item selects last element on end ok 25 Selection in single selection mode with one selected item keeps its selection and focused item after one of the unselected items is removed from the observable array ok 26 Selection in single selection mode with one selected item has no selection after the selected item is removed from the observable array ok 27 Selection in single selection mode with one selected item focuses the item at the same index after the focused item is removed from the observable array ok 28 Selection in single selection mode with one selected item focuses the new last item if the last item was focused and removed from the observable array ok 29 Selection in single selection mode with one selected item has its anchor observable set to null after the anchor item is removed from the observable array ok 30 Selection in single selection mode with one selected item when the selection is set manually selects one item manually ok 31 Selection in single selection mode with one selected item when the selection is set manually selects multiple items manually ok 32 Selection in single selection mode with one selected item when the content of foreach is altered keeps items selected when they are still in foreach ok 33 Selection in single selection mode with one selected item when the content of foreach is altered removes items from selection when they are removed from foreach ok 34 Selection in multiple selection mode updates the DOM when the selection data is changed ok 35 Selection in multiple selection mode updates the DOM when the focus changes ok 36 Selection in multiple selection mode updates selected field of items when the selection data is changed ok 37 Selection in multiple selection mode updates focused field of the items when the focus changes ok 38 Selection in multiple selection mode with no selection has no elements marked as selected ok 39 Selection in multiple selection mode with no selection selects the clicked element ok 40 Selection in multiple selection mode with no selection selects the clicked element on shift-click ok 41 Selection in multiple selection mode with no selection selects the clicked element on ctrl-click ok 42 Selection in multiple selection mode with no selection select focused element on space ok 43 Selection in multiple selection mode with no selection selects first element on home ok 44 Selection in multiple selection mode with no selection selects last element on end ok 45 Selection in multiple selection mode with no selection selects the element after the focused element on down-arrow ok 46 Selection in multiple selection mode with no selection selects the element before the focused element on up-arrow ok 47 Selection in multiple selection mode with no selection selects and focuses the element after the focused element on shift-down-arrow ok 48 Selection in multiple selection mode with no selection selects and focuses the element before the focused element on shift-up-arrow ok 49 Selection in multiple selection mode with no selection selects everything on ctrl-a ok 50 Selection in multiple selection mode with no selection when first element is focused selects the focused element on up-arrow ok 51 Selection in multiple selection mode with no selection when last element is focused selects the focused element on down-arrow ok 52 Selection in multiple selection mode with no selection when the selection is set manually selects one item manually ok 53 Selection in multiple selection mode with no selection when the selection is set manually selects multiple items manually ok 54 Selection in multiple selection mode with selected items expands the selection with ctrl-click ok 55 Selection in multiple selection mode with selected items deselected selected items with ctrl-click ok 56 Selection in multiple selection mode with selected items expands the selection on space ok 57 Selection in multiple selection mode with selected items ignores ctrl key on space ok 58 Selection in multiple selection mode with selected items ignores shift key on space ok 59 Selection in multiple selection mode with selected items maintains the selection of non-focused, but selected, elements on space ok 60 Selection in multiple selection mode with selected items expands the selection with shift-click ok 61 Selection in multiple selection mode with selected items expands the selection downward on shift-down-arrow ok 62 Selection in multiple selection mode with selected items expands the selection further downward on successive shift-down-arrow ok 63 Selection in multiple selection mode with selected items expands the selection upward on shift-up-arrow ok 64 Selection in multiple selection mode with selected items expands the selection further upward on successive shift-up-arrow ok 65 Selection in multiple selection mode with selected items does not move the selection anchor on successive shift-up/down-arrow ok 66 Selection in multiple selection mode with selected items maintains the selection on ctrl-down-arrow ok 67 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-down-arrow ok 68 Selection in multiple selection mode with selected items moves the selection anchor downwards on ctrl-down-arrow ok 69 Selection in multiple selection mode with selected items moves the selection anchor further downward on successive ctrl-down-arrow ok 70 Selection in multiple selection mode with selected items maintains the selection on ctrl-up-arrow ok 71 Selection in multiple selection mode with selected items maintains the selection on successive ctrl-up-arrow ok 72 Selection in multiple selection mode with selected items moves the selection anchor upward on ctrl-up-arrow ok 73 Selection in multiple selection mode with selected items moves the selection anchor further upward on successive ctrl-up-arrow ok 74 Selection in multiple selection mode with selected items moves the selection anchor on successive ctrl-up/down-arrow ok 75 Selection in multiple selection mode with selected items maintains selection on successive ctrl-up/down-arrow ok 76 Selection in multiple selection mode with selected items selects all items from anchor to top on shift-home ok 77 Selection in multiple selection mode with selected items selects all items from anchor to bottom on shift-end ok 78 Selection in multiple selection mode with selected items moves the selection anchor to top on ctrl-home ok 79 Selection in multiple selection mode with selected items moves the selection anchor to bottom on ctrl-end ok 80 Selection in multiple selection mode with selected items expands selection with range from anchor to top on ctrl-shift-home ok 81 Selection in multiple selection mode with selected items expands selection with range from anchor to bottom on ctrl-shift-end ok 82 Selection in multiple selection mode with selected items removes the selection and selects next element on down-arrow ok 83 Selection in multiple selection mode with selected items removes the selection and selects previous element on up-arrow ok 84 Selection in multiple selection mode with selected items removes the selection and selects clicked item on mouse click ok 85 Selection in multiple selection mode with selected items keeps its selection count after one of the unselected items is removed from the observable array ok 86 Selection in multiple selection mode with selected items has its selection count decremented after one of selected items is removed from the observable array ok 87 Selection in multiple selection mode with selected items has its selection count decremented after the focused and selected item is removed from the observable array ok 88 Selection in multiple selection mode with selected items focuses the item at the same index after the focused item is removed from the observable array ok 89 Selection in multiple selection mode with selected items focuses the new last item if the last item was focused and removed from the observable array ok 90 Selection in multiple selection mode with selected items has its anchor observable set to null after the anchor item is removed from the observable array ok 91 Selection in multiple selection mode with selected items is possible to cancel the selection event if the item is alreay selected ok 92 Selection in multiple selection mode with selected items when the selection is set manually selects one item manually ok 93 Selection in multiple selection mode with selected items when the selection is set manually selects multiple items manually ok 94 Selection in multiple selection mode with selected items when the content of foreach is altered keeps items selected when they are still in the foreach ok 95 Selection in multiple selection mode with selected items when the content of foreach is altered removes items from selection when they are removed from foreach ok 96 Selection error handling throws if the selection-binding is not used together with a foreach-binding or a template-binding ok 97 Selection error handling throws when data is not an observable array ok 98 Selection error handling throws when binding value is not an observable array ok 99 EventMatcher has an empty handlers list ok 100 EventMatcher matches with one handler and one matcher ok 101 EventMatcher matches with multiple handlers ok 102 EventMatcher matches with multiple matchers # tests 101 # pass 101 # fail 0