1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.htmlunit.general.huge;
16
17 import java.util.Collection;
18
19 import org.htmlunit.junit.annotation.Alerts;
20 import org.htmlunit.junit.annotation.HtmlUnitNYI;
21 import org.junit.jupiter.params.provider.Arguments;
22
23
24
25
26
27
28
29
30
31 public class HostParentOfCTest extends HostParentOf {
32
33
34
35
36
37
38 public static Collection<Arguments> data() throws Exception {
39 return HostParentOf.data(input -> {
40 final char ch = Character.toUpperCase(input.charAt(0));
41 return ch == 'C';
42 });
43 }
44
45 @Alerts("true/false")
46 void _Cache_Cache() throws Exception {
47 test("Cache", "Cache");
48 }
49
50 @Alerts("true/false")
51 void _CacheStorage_CacheStorage() throws Exception {
52 test("CacheStorage", "CacheStorage");
53 }
54
55 @Alerts(DEFAULT = "false/false",
56 FF = "true/false",
57 FF_ESR = "true/false")
58 void _CanvasCaptureMediaStream_CanvasCaptureMediaStream() throws Exception {
59 test("CanvasCaptureMediaStream", "CanvasCaptureMediaStream");
60 }
61
62 @Alerts(DEFAULT = "false/false",
63 CHROME = "true/false",
64 EDGE = "true/false")
65 void _CanvasCaptureMediaStreamTrack_CanvasCaptureMediaStreamTrack() throws Exception {
66 test("CanvasCaptureMediaStreamTrack", "CanvasCaptureMediaStreamTrack");
67 }
68
69 @Alerts("true/false")
70 void _CanvasGradient_CanvasGradient() throws Exception {
71 test("CanvasGradient", "CanvasGradient");
72 }
73
74 @Alerts("true/false")
75 void _CanvasPattern_CanvasPattern() throws Exception {
76 test("CanvasPattern", "CanvasPattern");
77 }
78
79 @Alerts("true/false")
80 void _CanvasRenderingContext2D_CanvasRenderingContext2D() throws Exception {
81 test("CanvasRenderingContext2D", "CanvasRenderingContext2D");
82 }
83
84 @Alerts("true/false")
85 void _CaretPosition_CaretPosition() throws Exception {
86 test("CaretPosition", "CaretPosition");
87 }
88
89 @Alerts("true/false")
90 void _CDATASection_CDATASection() throws Exception {
91 test("CDATASection", "CDATASection");
92 }
93
94 @Alerts("true/false")
95 void _ChannelMergerNode_ChannelMergerNode() throws Exception {
96 test("ChannelMergerNode", "ChannelMergerNode");
97 }
98
99 @Alerts("true/false")
100 void _ChannelSplitterNode_ChannelSplitterNode() throws Exception {
101 test("ChannelSplitterNode", "ChannelSplitterNode");
102 }
103
104 @Alerts("true/false")
105 void _CharacterData_CDATASection() throws Exception {
106 test("CharacterData", "CDATASection");
107 }
108
109 @Alerts("true/false")
110 void _CharacterData_CharacterData() throws Exception {
111 test("CharacterData", "CharacterData");
112 }
113
114 @Alerts("true/true")
115 void _CharacterData_Comment() throws Exception {
116 test("CharacterData", "Comment");
117 }
118
119 @Alerts("true/true")
120 void _CharacterData_ProcessingInstruction() throws Exception {
121 test("CharacterData", "ProcessingInstruction");
122 }
123
124 @Alerts("true/true")
125 void _CharacterData_Text() throws Exception {
126 test("CharacterData", "Text");
127 }
128
129 @Alerts("true/false")
130 void _ClipboardEvent_ClipboardEvent() throws Exception {
131 test("ClipboardEvent", "ClipboardEvent");
132 }
133
134 @Alerts("true/false")
135 void _CloseEvent_CloseEvent() throws Exception {
136 test("CloseEvent", "CloseEvent");
137 }
138
139 @Alerts("true/false")
140 void _Comment_Comment() throws Exception {
141 test("Comment", "Comment");
142 }
143
144 @Alerts("true/false")
145 void _CompositionEvent_CompositionEvent() throws Exception {
146 test("CompositionEvent", "CompositionEvent");
147 }
148
149 @Alerts("false/false")
150 void _Console_Console() throws Exception {
151 test("Console", "Console");
152 }
153
154 @Alerts("true/false")
155 void _ConstantSourceNode_ConstantSourceNode() throws Exception {
156 test("ConstantSourceNode", "ConstantSourceNode");
157 }
158
159 @Alerts("true/false")
160 void _ConvolverNode_ConvolverNode() throws Exception {
161 test("ConvolverNode", "ConvolverNode");
162 }
163
164 @Alerts("false/false")
165 void _Coordinates_Coordinates() throws Exception {
166 test("Coordinates", "Coordinates");
167 }
168
169 @Alerts("true/false")
170 void _Credential_Credential() throws Exception {
171 test("Credential", "Credential");
172 }
173
174 @Alerts(DEFAULT = "false/false",
175 CHROME = "true/true",
176 EDGE = "true/true")
177 void _Credential_FederatedCredential() throws Exception {
178 test("Credential", "FederatedCredential");
179 }
180
181 @Alerts(DEFAULT = "false/false",
182 CHROME = "true/true",
183 EDGE = "true/true")
184 void _Credential_PasswordCredential() throws Exception {
185 test("Credential", "PasswordCredential");
186 }
187
188 @Alerts("true/false")
189 void _CredentialsContainer_CredentialsContainer() throws Exception {
190 test("CredentialsContainer", "CredentialsContainer");
191 }
192
193 @Alerts("true/false")
194 void _Crypto_Crypto() throws Exception {
195 test("Crypto", "Crypto");
196 }
197
198 @Alerts("true/false")
199 void _CryptoKey_CryptoKey() throws Exception {
200 test("CryptoKey", "CryptoKey");
201 }
202
203 @Alerts("false/false")
204 void _CSS_CSS() throws Exception {
205 test("CSS", "CSS");
206 }
207
208 @Alerts(DEFAULT = "false/false",
209 FF_ESR = "true/false")
210 void _CSS2Properties_CSS2Properties() throws Exception {
211 test("CSS2Properties", "CSS2Properties");
212 }
213
214 @Alerts(DEFAULT = "false/false",
215 FF = "true/false")
216 void _CSSStyleProperties_CSSStyleProperties() throws Exception {
217 test("CSSStyleProperties", "CSSStyleProperties");
218 }
219
220 @Alerts("true/false")
221 void _CSSConditionRule_CSSConditionRule() throws Exception {
222 test("CSSConditionRule", "CSSConditionRule");
223 }
224
225 @Alerts("true/true")
226 void _CSSConditionRule_CSSMediaRule() throws Exception {
227 test("CSSConditionRule", "CSSMediaRule");
228 }
229
230 @Alerts("true/true")
231 void _CSSConditionRule_CSSSupportsRule() throws Exception {
232 test("CSSConditionRule", "CSSSupportsRule");
233 }
234
235 @Alerts("true/false")
236 void _CSSCounterStyleRule_CSSCounterStyleRule() throws Exception {
237 test("CSSCounterStyleRule", "CSSCounterStyleRule");
238 }
239
240 @Alerts("true/false")
241 void _CSSFontFaceRule_CSSFontFaceRule() throws Exception {
242 test("CSSFontFaceRule", "CSSFontFaceRule");
243 }
244
245 @Alerts("true/true")
246 void _CSSGroupingRule_CSSConditionRule() throws Exception {
247 test("CSSGroupingRule", "CSSConditionRule");
248 }
249
250 @Alerts("true/false")
251 void _CSSGroupingRule_CSSGroupingRule() throws Exception {
252 test("CSSGroupingRule", "CSSGroupingRule");
253 }
254
255 @Alerts("true/false")
256 void _CSSGroupingRule_CSSMediaRule() throws Exception {
257 test("CSSGroupingRule", "CSSMediaRule");
258 }
259
260 @Alerts("true/true")
261 @HtmlUnitNYI(CHROME = "false/false",
262 EDGE = "false/false",
263 FF = "false/false",
264 FF_ESR = "false/false")
265 void _CSSGroupingRule_CSSPageRule() throws Exception {
266 test("CSSGroupingRule", "CSSPageRule");
267 }
268
269 @Alerts(DEFAULT = "false/false",
270 FF = "true/true",
271 FF_ESR = "true/true")
272 @HtmlUnitNYI(FF = "false/false",
273 FF_ESR = "false/false")
274 void _CSSGroupingRule_CSSStyleRule() throws Exception {
275 test("CSSGroupingRule", "CSSStyleRule");
276 }
277
278 @Alerts("true/false")
279 void _CSSGroupingRule_CSSSupportsRule() throws Exception {
280 test("CSSGroupingRule", "CSSSupportsRule");
281 }
282
283 @Alerts("true/false")
284 void _CSSImportRule_CSSImportRule() throws Exception {
285 test("CSSImportRule", "CSSImportRule");
286 }
287
288 @Alerts("true/false")
289 void _CSSKeyframeRule_CSSKeyframeRule() throws Exception {
290 test("CSSKeyframeRule", "CSSKeyframeRule");
291 }
292
293 @Alerts("true/false")
294 void _CSSKeyframesRule_CSSKeyframesRule() throws Exception {
295 test("CSSKeyframesRule", "CSSKeyframesRule");
296 }
297
298 @Alerts("true/false")
299 void _CSSMediaRule_CSSMediaRule() throws Exception {
300 test("CSSMediaRule", "CSSMediaRule");
301 }
302
303 @Alerts("true/false")
304 void _CSSNamespaceRule_CSSNamespaceRule() throws Exception {
305 test("CSSNamespaceRule", "CSSNamespaceRule");
306 }
307
308 @Alerts("true/false")
309 void _CSSPageRule_CSSPageRule() throws Exception {
310 test("CSSPageRule", "CSSPageRule");
311 }
312
313 @Alerts("false/false")
314 void _CSSPrimitiveValue_CSSPrimitiveValue() throws Exception {
315 test("CSSPrimitiveValue", "CSSPrimitiveValue");
316 }
317
318 @Alerts("true/false")
319 void _CSSRule_CSSConditionRule() throws Exception {
320 test("CSSRule", "CSSConditionRule");
321 }
322
323 @Alerts("true/true")
324 void _CSSRule_CSSCounterStyleRule() throws Exception {
325 test("CSSRule", "CSSCounterStyleRule");
326 }
327
328 @Alerts("true/true")
329 void _CSSRule_CSSFontFaceRule() throws Exception {
330 test("CSSRule", "CSSFontFaceRule");
331 }
332
333 @Alerts("true/true")
334 void _CSSRule_CSSGroupingRule() throws Exception {
335 test("CSSRule", "CSSGroupingRule");
336 }
337
338 @Alerts("true/true")
339 void _CSSRule_CSSImportRule() throws Exception {
340 test("CSSRule", "CSSImportRule");
341 }
342
343 @Alerts("true/true")
344 void _CSSRule_CSSKeyframeRule() throws Exception {
345 test("CSSRule", "CSSKeyframeRule");
346 }
347
348 @Alerts("true/true")
349 void _CSSRule_CSSKeyframesRule() throws Exception {
350 test("CSSRule", "CSSKeyframesRule");
351 }
352
353 @Alerts("true/false")
354 void _CSSRule_CSSMediaRule() throws Exception {
355 test("CSSRule", "CSSMediaRule");
356 }
357
358 @Alerts("true/true")
359 void _CSSRule_CSSNamespaceRule() throws Exception {
360 test("CSSRule", "CSSNamespaceRule");
361 }
362
363 @Alerts("true/false")
364 @HtmlUnitNYI(CHROME = "true/true",
365 EDGE = "true/true",
366 FF = "true/true",
367 FF_ESR = "true/true")
368 void _CSSRule_CSSPageRule() throws Exception {
369 test("CSSRule", "CSSPageRule");
370 }
371
372 @Alerts("true/false")
373 void _CSSRule_CSSRule() throws Exception {
374 test("CSSRule", "CSSRule");
375 }
376
377 @Alerts(DEFAULT = "true/true",
378 FF = "true/false",
379 FF_ESR = "true/false")
380 @HtmlUnitNYI(FF = "true/true",
381 FF_ESR = "true/true")
382 void _CSSRule_CSSStyleRule() throws Exception {
383 test("CSSRule", "CSSStyleRule");
384 }
385
386 @Alerts("true/false")
387 void _CSSRule_CSSSupportsRule() throws Exception {
388 test("CSSRule", "CSSSupportsRule");
389 }
390
391 @Alerts("true/false")
392 void _CSSRuleList_CSSRuleList() throws Exception {
393 test("CSSRuleList", "CSSRuleList");
394 }
395
396 @Alerts(DEFAULT = "false/false",
397 FF_ESR = "true/true")
398 void _CSSStyleDeclaration_CSS2Properties() throws Exception {
399 test("CSSStyleDeclaration", "CSS2Properties");
400 }
401
402 @Alerts(DEFAULT = "false/false",
403 FF = "true/true")
404 void _CSSStyleDeclaration_CSSStyleProperties() throws Exception {
405 test("CSSStyleDeclaration", "CSSStyleProperties");
406 }
407
408 @Alerts("true/false")
409 void _CSSStyleDeclaration_CSSStyleDeclaration() throws Exception {
410 test("CSSStyleDeclaration", "CSSStyleDeclaration");
411 }
412
413 @Alerts("true/false")
414 void _CSSStyleRule_CSSStyleRule() throws Exception {
415 test("CSSStyleRule", "CSSStyleRule");
416 }
417
418 @Alerts("true/false")
419 void _CSSStyleSheet_CSSStyleSheet() throws Exception {
420 test("CSSStyleSheet", "CSSStyleSheet");
421 }
422
423 @Alerts("true/false")
424 void _CSSSupportsRule_CSSSupportsRule() throws Exception {
425 test("CSSSupportsRule", "CSSSupportsRule");
426 }
427
428 @Alerts("false/false")
429 void _CSSValue_CSSPrimitiveValue() throws Exception {
430 test("CSSValue", "CSSPrimitiveValue");
431 }
432
433 @Alerts("false/false")
434 void _CSSValue_CSSValue() throws Exception {
435 test("CSSValue", "CSSValue");
436 }
437
438 @Alerts("false/false")
439 void _CSSValue_CSSValueList() throws Exception {
440 test("CSSValue", "CSSValueList");
441 }
442
443 @Alerts("false/false")
444 void _CSSValueList_CSSValueList() throws Exception {
445 test("CSSValueList", "CSSValueList");
446 }
447
448 @Alerts("true/false")
449 void _CustomElementRegistry_CustomElementRegistry() throws Exception {
450 test("CustomElementRegistry", "CustomElementRegistry");
451 }
452
453 @Alerts("true/false")
454 void _CustomEvent_CustomEvent() throws Exception {
455 test("CustomEvent", "CustomEvent");
456 }
457 }