| OLD | NEW |
| 1 This tests that events are properly propagated through View hierarchy. | 1 This tests that events are properly propagated through Widget hierarchy. |
| 2 | 2 |
| 3 | 3 |
| 4 Running: testShowView | 4 Running: testShowWidget |
| 5 View() | 5 Widget() |
| 6 View.show() | 6 Widget.show() |
| 7 View.wasShown() | 7 Widget.wasShown() |
| 8 View.onResize() | 8 Widget.onResize() |
| 9 View.detach() | 9 Widget.detach() |
| 10 View.willHide() | 10 Widget.willHide() |
| 11 | 11 |
| 12 Running: testAppendViaDOM | 12 Running: testAppendViaDOM |
| 13 View() | 13 Widget() |
| 14 Error: Attempt to add view via regular DOM operation. | 14 Error: Attempt to add widget via regular DOM operation. |
| 15 | 15 |
| 16 Running: testInsertViaDOM | 16 Running: testInsertViaDOM |
| 17 View() | 17 Widget() |
| 18 Error: Attempt to add view via regular DOM operation. | 18 Error: Attempt to add widget via regular DOM operation. |
| 19 | 19 |
| 20 Running: testAttachToOrphanNode | 20 Running: testAttachToOrphanNode |
| 21 View() | 21 Widget() |
| 22 View.show() | 22 Widget.show() |
| 23 Error: Attempt to attach view to orphan node | 23 Error: Attempt to attach widget to orphan node |
| 24 | 24 |
| 25 Running: testImmediateParent | 25 Running: testImmediateParent |
| 26 Parent() | 26 Parent() |
| 27 Child() | 27 Child() |
| 28 Child.show() | 28 Child.show() |
| 29 OK | 29 OK |
| 30 | 30 |
| 31 Running: testDistantParent | 31 Running: testDistantParent |
| 32 Parent() | 32 Parent() |
| 33 Child() | 33 Child() |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 Parent.show() | 77 Parent.show() |
| 78 Parent.wasShown() | 78 Parent.wasShown() |
| 79 Child.wasShown() | 79 Child.wasShown() |
| 80 Parent.onResize() | 80 Parent.onResize() |
| 81 Child.onResize() | 81 Child.onResize() |
| 82 Child.detach() | 82 Child.detach() |
| 83 Child.willHide() | 83 Child.willHide() |
| 84 Parent.detach() | 84 Parent.detach() |
| 85 Parent.willHide() | 85 Parent.willHide() |
| 86 | 86 |
| 87 Running: testViewCounter | 87 Running: testWidgetCounter |
| 88 Parent() | 88 Parent() |
| 89 Parent.show() | 89 Parent.show() |
| 90 Parent.wasShown() | 90 Parent.wasShown() |
| 91 Parent.onResize() | 91 Parent.onResize() |
| 92 Child() | 92 Child() |
| 93 Child.show() | 93 Child.show() |
| 94 Child.wasShown() | 94 Child.wasShown() |
| 95 Child.onResize() | 95 Child.onResize() |
| 96 view counter: 1 | 96 widget counter: 1 |
| 97 Child 2() | 97 Child 2() |
| 98 Child 2.show() | 98 Child 2.show() |
| 99 Child 2.wasShown() | 99 Child 2.wasShown() |
| 100 Child 2.onResize() | 100 Child 2.onResize() |
| 101 view counter: 2 | 101 widget counter: 2 |
| 102 Child.detach() | 102 Child.detach() |
| 103 Child.willHide() | 103 Child.willHide() |
| 104 view counter: 1 | 104 widget counter: 1 |
| 105 Child 2.detach() | 105 Child 2.detach() |
| 106 Child 2.willHide() | 106 Child 2.willHide() |
| 107 view counter: 0 | 107 widget counter: 0 |
| 108 | 108 |
| 109 Running: testRemoveChild | 109 Running: testRemoveChild |
| 110 Parent() | 110 Parent() |
| 111 Parent.show() | 111 Parent.show() |
| 112 Parent.wasShown() | 112 Parent.wasShown() |
| 113 Parent.onResize() | 113 Parent.onResize() |
| 114 Child() | 114 Child() |
| 115 Child.show() | 115 Child.show() |
| 116 Child.wasShown() | 116 Child.wasShown() |
| 117 Child.onResize() | 117 Child.onResize() |
| 118 Error: Attempt to remove element containing view via regular DOM operation | 118 Error: Attempt to remove element containing widget via regular DOM operation |
| 119 | 119 |
| 120 Running: testImplicitRemoveChild | 120 Running: testImplicitRemoveChild |
| 121 Parent() | 121 Parent() |
| 122 Child() | 122 Child() |
| 123 Child.show() | 123 Child.show() |
| 124 Error: Attempt to remove element containing view via regular DOM operation | 124 Error: Attempt to remove element containing widget via regular DOM operation |
| 125 | 125 |
| 126 Running: testRemoveChildren | 126 Running: testRemoveChildren |
| 127 Parent() | 127 Parent() |
| 128 Child() | 128 Child() |
| 129 Child.show() | 129 Child.show() |
| 130 Error: Attempt to remove element containing view via regular DOM operation | 130 Error: Attempt to remove element containing widget via regular DOM operation |
| 131 | 131 |
| 132 Running: testImplicitRemoveChildren | 132 Running: testImplicitRemoveChildren |
| 133 Parent() | 133 Parent() |
| 134 Child() | 134 Child() |
| 135 Child.show() | 135 Child.show() |
| 136 Error: Attempt to remove element containing view via regular DOM operation | 136 Error: Attempt to remove element containing widget via regular DOM operation |
| 137 | 137 |
| 138 Running: testShowOnWasShown | 138 Running: testShowOnWasShown |
| 139 Parent() | 139 Parent() |
| 140 Child() | 140 Child() |
| 141 Parent.show() | 141 Parent.show() |
| 142 Parent.wasShown() | 142 Parent.wasShown() |
| 143 Child.show() | 143 Child.show() |
| 144 Child.wasShown() | 144 Child.wasShown() |
| 145 Parent.onResize() | 145 Parent.onResize() |
| 146 Child.onResize() | 146 Child.onResize() |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 Parent.show() | 231 Parent.show() |
| 232 Parent.wasShown() | 232 Parent.wasShown() |
| 233 Child.doResize() | 233 Child.doResize() |
| 234 Child.wasShown() | 234 Child.wasShown() |
| 235 Parent.onResize() | 235 Parent.onResize() |
| 236 Child.onResize() | 236 Child.onResize() |
| 237 Parent.detach() | 237 Parent.detach() |
| 238 Child.willHide() | 238 Child.willHide() |
| 239 Parent.willHide() | 239 Parent.willHide() |
| 240 | 240 |
| OLD | NEW |