OLD | NEW |
| (Empty) |
1 This tests that events are properly propagated through View hierarchy. | |
2 | |
3 | |
4 Running: testShowView | |
5 View() | |
6 View.show() | |
7 View.wasShown() | |
8 View.onResize() | |
9 View.detach() | |
10 View.willHide() | |
11 | |
12 Running: testAppendViaDOM | |
13 View() | |
14 Error: Attempt to add view via regular DOM operation. | |
15 | |
16 Running: testInsertViaDOM | |
17 View() | |
18 Error: Attempt to add view via regular DOM operation. | |
19 | |
20 Running: testAttachToOrphanNode | |
21 View() | |
22 View.show() | |
23 Error: Attempt to attach view to orphan node | |
24 | |
25 Running: testImmediateParent | |
26 Parent() | |
27 Child() | |
28 Child.show() | |
29 OK | |
30 | |
31 Running: testDistantParent | |
32 Parent() | |
33 Child() | |
34 Child.show() | |
35 OK | |
36 | |
37 Running: testEvents | |
38 Parent() | |
39 Child() | |
40 Parent.show() | |
41 Parent.wasShown() | |
42 Parent.onResize() | |
43 Parent.doResize() | |
44 Child.show() | |
45 Child.wasShown() | |
46 Child.onResize() | |
47 Parent.doResize() | |
48 Child.onResize() | |
49 Parent.detach() | |
50 Child.willHide() | |
51 Parent.willHide() | |
52 Parent.show() | |
53 Parent.wasShown() | |
54 Child.wasShown() | |
55 Parent.onResize() | |
56 Child.onResize() | |
57 Child.detach() | |
58 Child.willHide() | |
59 Parent.detach() | |
60 Parent.willHide() | |
61 | |
62 Running: testEventsHideOnDetach | |
63 Parent() | |
64 Child() | |
65 Parent.show() | |
66 Parent.wasShown() | |
67 Parent.onResize() | |
68 Parent.doResize() | |
69 Child.show() | |
70 Child.wasShown() | |
71 Child.onResize() | |
72 Parent.doResize() | |
73 Child.onResize() | |
74 Parent.detach() | |
75 Child.willHide() | |
76 Parent.willHide() | |
77 Parent.show() | |
78 Parent.wasShown() | |
79 Child.wasShown() | |
80 Parent.onResize() | |
81 Child.onResize() | |
82 Child.detach() | |
83 Child.willHide() | |
84 Parent.detach() | |
85 Parent.willHide() | |
86 | |
87 Running: testViewCounter | |
88 Parent() | |
89 Parent.show() | |
90 Parent.wasShown() | |
91 Parent.onResize() | |
92 Child() | |
93 Child.show() | |
94 Child.wasShown() | |
95 Child.onResize() | |
96 view counter: 1 | |
97 Child 2() | |
98 Child 2.show() | |
99 Child 2.wasShown() | |
100 Child 2.onResize() | |
101 view counter: 2 | |
102 Child.detach() | |
103 Child.willHide() | |
104 view counter: 1 | |
105 Child 2.detach() | |
106 Child 2.willHide() | |
107 view counter: 0 | |
108 | |
109 Running: testRemoveChild | |
110 Parent() | |
111 Parent.show() | |
112 Parent.wasShown() | |
113 Parent.onResize() | |
114 Child() | |
115 Child.show() | |
116 Child.wasShown() | |
117 Child.onResize() | |
118 Error: Attempt to remove element containing view via regular DOM operation | |
119 | |
120 Running: testImplicitRemoveChild | |
121 Parent() | |
122 Child() | |
123 Child.show() | |
124 Error: Attempt to remove element containing view via regular DOM operation | |
125 | |
126 Running: testRemoveChildren | |
127 Parent() | |
128 Child() | |
129 Child.show() | |
130 Error: Attempt to remove element containing view via regular DOM operation | |
131 | |
132 Running: testImplicitRemoveChildren | |
133 Parent() | |
134 Child() | |
135 Child.show() | |
136 Error: Attempt to remove element containing view via regular DOM operation | |
137 | |
138 Running: testShowOnWasShown | |
139 Parent() | |
140 Child() | |
141 Parent.show() | |
142 Parent.wasShown() | |
143 Child.show() | |
144 Child.wasShown() | |
145 Parent.onResize() | |
146 Child.onResize() | |
147 Parent.detach() | |
148 Child.willHide() | |
149 Parent.willHide() | |
150 | |
151 Running: testShowNestedOnWasShown | |
152 Top() | |
153 Middle() | |
154 Bottom() | |
155 Middle.show() | |
156 Top.show() | |
157 Top.wasShown() | |
158 Bottom.show() | |
159 Middle.wasShown() | |
160 Bottom.wasShown() | |
161 Top.onResize() | |
162 Middle.onResize() | |
163 Bottom.onResize() | |
164 Top.detach() | |
165 Bottom.willHide() | |
166 Middle.willHide() | |
167 Top.willHide() | |
168 | |
169 Running: testDetachOnWasShown | |
170 Parent() | |
171 Child() | |
172 Child.show() | |
173 Parent.show() | |
174 Parent.wasShown() | |
175 Child.detach() | |
176 Parent.onResize() | |
177 Parent.detach() | |
178 Parent.willHide() | |
179 | |
180 Running: testShowOnWillHide | |
181 Parent() | |
182 Child() | |
183 Parent.show() | |
184 Parent.wasShown() | |
185 Parent.onResize() | |
186 Child.show() | |
187 Child.wasShown() | |
188 Child.onResize() | |
189 Parent.detach() | |
190 Child.willHide() | |
191 Parent.willHide() | |
192 Child.show() | |
193 | |
194 Running: testDetachOnWillHide | |
195 Parent() | |
196 Child() | |
197 Parent.show() | |
198 Parent.wasShown() | |
199 Parent.onResize() | |
200 Child.show() | |
201 Child.wasShown() | |
202 Child.onResize() | |
203 Parent.detach() | |
204 Child.willHide() | |
205 Parent.willHide() | |
206 Child.detach() | |
207 | |
208 Running: testShowDetachesFromPrevious | |
209 Parent1() | |
210 Parent2() | |
211 Child() | |
212 Parent1.show() | |
213 Parent1.wasShown() | |
214 Parent1.onResize() | |
215 Parent2.show() | |
216 Parent2.wasShown() | |
217 Parent2.onResize() | |
218 Child.show() | |
219 Child.wasShown() | |
220 Child.onResize() | |
221 Child.show() | |
222 Child.detach() | |
223 Child.willHide() | |
224 Child.wasShown() | |
225 Child.onResize() | |
226 | |
227 Running: testResizeOnWasShown | |
228 Parent() | |
229 Child() | |
230 Child.show() | |
231 Parent.show() | |
232 Parent.wasShown() | |
233 Child.doResize() | |
234 Child.wasShown() | |
235 Parent.onResize() | |
236 Child.onResize() | |
237 Parent.detach() | |
238 Child.willHide() | |
239 Parent.willHide() | |
240 | |
OLD | NEW |