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 = "true/false",
210 FF_ESR = "true/false")
211 void _CSS2Properties_CSS2Properties() throws Exception {
212 test("CSS2Properties", "CSS2Properties");
213 }
214
215 @Alerts("true/false")
216 void _CSSConditionRule_CSSConditionRule() throws Exception {
217 test("CSSConditionRule", "CSSConditionRule");
218 }
219
220 @Alerts("true/true")
221 void _CSSConditionRule_CSSMediaRule() throws Exception {
222 test("CSSConditionRule", "CSSMediaRule");
223 }
224
225 @Alerts("true/true")
226 void _CSSConditionRule_CSSSupportsRule() throws Exception {
227 test("CSSConditionRule", "CSSSupportsRule");
228 }
229
230 @Alerts("true/false")
231 void _CSSCounterStyleRule_CSSCounterStyleRule() throws Exception {
232 test("CSSCounterStyleRule", "CSSCounterStyleRule");
233 }
234
235 @Alerts("true/false")
236 void _CSSFontFaceRule_CSSFontFaceRule() throws Exception {
237 test("CSSFontFaceRule", "CSSFontFaceRule");
238 }
239
240 @Alerts("true/true")
241 void _CSSGroupingRule_CSSConditionRule() throws Exception {
242 test("CSSGroupingRule", "CSSConditionRule");
243 }
244
245 @Alerts("true/false")
246 void _CSSGroupingRule_CSSGroupingRule() throws Exception {
247 test("CSSGroupingRule", "CSSGroupingRule");
248 }
249
250 @Alerts("true/false")
251 void _CSSGroupingRule_CSSMediaRule() throws Exception {
252 test("CSSGroupingRule", "CSSMediaRule");
253 }
254
255 @Alerts("true/true")
256 @HtmlUnitNYI(CHROME = "false/false",
257 EDGE = "false/false",
258 FF = "false/false",
259 FF_ESR = "false/false")
260 void _CSSGroupingRule_CSSPageRule() throws Exception {
261 test("CSSGroupingRule", "CSSPageRule");
262 }
263
264 @Alerts(DEFAULT = "false/false",
265 FF = "true/true",
266 FF_ESR = "true/true")
267 @HtmlUnitNYI(FF = "false/false",
268 FF_ESR = "false/false")
269 void _CSSGroupingRule_CSSStyleRule() throws Exception {
270 test("CSSGroupingRule", "CSSStyleRule");
271 }
272
273 @Alerts("true/false")
274 void _CSSGroupingRule_CSSSupportsRule() throws Exception {
275 test("CSSGroupingRule", "CSSSupportsRule");
276 }
277
278 @Alerts("true/false")
279 void _CSSImportRule_CSSImportRule() throws Exception {
280 test("CSSImportRule", "CSSImportRule");
281 }
282
283 @Alerts("true/false")
284 void _CSSKeyframeRule_CSSKeyframeRule() throws Exception {
285 test("CSSKeyframeRule", "CSSKeyframeRule");
286 }
287
288 @Alerts("true/false")
289 void _CSSKeyframesRule_CSSKeyframesRule() throws Exception {
290 test("CSSKeyframesRule", "CSSKeyframesRule");
291 }
292
293 @Alerts("true/false")
294 void _CSSMediaRule_CSSMediaRule() throws Exception {
295 test("CSSMediaRule", "CSSMediaRule");
296 }
297
298 @Alerts("true/false")
299 void _CSSNamespaceRule_CSSNamespaceRule() throws Exception {
300 test("CSSNamespaceRule", "CSSNamespaceRule");
301 }
302
303 @Alerts("true/false")
304 void _CSSPageRule_CSSPageRule() throws Exception {
305 test("CSSPageRule", "CSSPageRule");
306 }
307
308 @Alerts("false/false")
309 void _CSSPrimitiveValue_CSSPrimitiveValue() throws Exception {
310 test("CSSPrimitiveValue", "CSSPrimitiveValue");
311 }
312
313 @Alerts("true/false")
314 void _CSSRule_CSSConditionRule() throws Exception {
315 test("CSSRule", "CSSConditionRule");
316 }
317
318 @Alerts("true/true")
319 void _CSSRule_CSSCounterStyleRule() throws Exception {
320 test("CSSRule", "CSSCounterStyleRule");
321 }
322
323 @Alerts("true/true")
324 void _CSSRule_CSSFontFaceRule() throws Exception {
325 test("CSSRule", "CSSFontFaceRule");
326 }
327
328 @Alerts("true/true")
329 void _CSSRule_CSSGroupingRule() throws Exception {
330 test("CSSRule", "CSSGroupingRule");
331 }
332
333 @Alerts("true/true")
334 void _CSSRule_CSSImportRule() throws Exception {
335 test("CSSRule", "CSSImportRule");
336 }
337
338 @Alerts("true/true")
339 void _CSSRule_CSSKeyframeRule() throws Exception {
340 test("CSSRule", "CSSKeyframeRule");
341 }
342
343 @Alerts("true/true")
344 void _CSSRule_CSSKeyframesRule() throws Exception {
345 test("CSSRule", "CSSKeyframesRule");
346 }
347
348 @Alerts("true/false")
349 void _CSSRule_CSSMediaRule() throws Exception {
350 test("CSSRule", "CSSMediaRule");
351 }
352
353 @Alerts("true/true")
354 void _CSSRule_CSSNamespaceRule() throws Exception {
355 test("CSSRule", "CSSNamespaceRule");
356 }
357
358 @Alerts("true/false")
359 @HtmlUnitNYI(CHROME = "true/true",
360 EDGE = "true/true",
361 FF = "true/true",
362 FF_ESR = "true/true")
363 void _CSSRule_CSSPageRule() throws Exception {
364 test("CSSRule", "CSSPageRule");
365 }
366
367 @Alerts("true/false")
368 void _CSSRule_CSSRule() throws Exception {
369 test("CSSRule", "CSSRule");
370 }
371
372 @Alerts(DEFAULT = "true/true",
373 FF = "true/false",
374 FF_ESR = "true/false")
375 @HtmlUnitNYI(FF = "true/true",
376 FF_ESR = "true/true")
377 void _CSSRule_CSSStyleRule() throws Exception {
378 test("CSSRule", "CSSStyleRule");
379 }
380
381 @Alerts("true/false")
382 void _CSSRule_CSSSupportsRule() throws Exception {
383 test("CSSRule", "CSSSupportsRule");
384 }
385
386 @Alerts("true/false")
387 void _CSSRuleList_CSSRuleList() throws Exception {
388 test("CSSRuleList", "CSSRuleList");
389 }
390
391 @Alerts(DEFAULT = "false/false",
392 FF = "true/true",
393 FF_ESR = "true/true")
394 void _CSSStyleDeclaration_CSS2Properties() throws Exception {
395 test("CSSStyleDeclaration", "CSS2Properties");
396 }
397
398 @Alerts("true/false")
399 void _CSSStyleDeclaration_CSSStyleDeclaration() throws Exception {
400 test("CSSStyleDeclaration", "CSSStyleDeclaration");
401 }
402
403 @Alerts("true/false")
404 void _CSSStyleRule_CSSStyleRule() throws Exception {
405 test("CSSStyleRule", "CSSStyleRule");
406 }
407
408 @Alerts("true/false")
409 void _CSSStyleSheet_CSSStyleSheet() throws Exception {
410 test("CSSStyleSheet", "CSSStyleSheet");
411 }
412
413 @Alerts("true/false")
414 void _CSSSupportsRule_CSSSupportsRule() throws Exception {
415 test("CSSSupportsRule", "CSSSupportsRule");
416 }
417
418 @Alerts("false/false")
419 void _CSSValue_CSSPrimitiveValue() throws Exception {
420 test("CSSValue", "CSSPrimitiveValue");
421 }
422
423 @Alerts("false/false")
424 void _CSSValue_CSSValue() throws Exception {
425 test("CSSValue", "CSSValue");
426 }
427
428 @Alerts("false/false")
429 void _CSSValue_CSSValueList() throws Exception {
430 test("CSSValue", "CSSValueList");
431 }
432
433 @Alerts("false/false")
434 void _CSSValueList_CSSValueList() throws Exception {
435 test("CSSValueList", "CSSValueList");
436 }
437
438 @Alerts("true/false")
439 void _CustomElementRegistry_CustomElementRegistry() throws Exception {
440 test("CustomElementRegistry", "CustomElementRegistry");
441 }
442
443 @Alerts("true/false")
444 void _CustomEvent_CustomEvent() throws Exception {
445 test("CustomEvent", "CustomEvent");
446 }
447 }