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.junit.jupiter.params.provider.Arguments;
21
22
23
24
25
26
27
28
29
30 public class HostParentOfMTest extends HostParentOf {
31
32
33
34
35
36
37
38
39 public static Collection<Arguments> data() throws Exception {
40 return HostParentOf.data(input -> {
41 final char ch = Character.toUpperCase(input.charAt(0));
42 return ch == 'M';
43 });
44 }
45
46 @Alerts("true/false")
47 void _MIDIAccess_MIDIAccess() throws Exception {
48 test("MIDIAccess", "MIDIAccess");
49 }
50
51 @Alerts("true/false")
52 void _MIDIConnectionEvent_MIDIConnectionEvent() throws Exception {
53 test("MIDIConnectionEvent", "MIDIConnectionEvent");
54 }
55
56 @Alerts("true/false")
57 void _MIDIInputMap_MIDIInputMap() throws Exception {
58 test("MIDIInputMap", "MIDIInputMap");
59 }
60
61 @Alerts("true/false")
62 void _MIDIInput_MIDIInput() throws Exception {
63 test("MIDIInput", "MIDIInput");
64 }
65
66 @Alerts("true/false")
67 void _MIDIMessageEvent_MIDIMessageEvent() throws Exception {
68 test("MIDIMessageEvent", "MIDIMessageEvent");
69 }
70
71 @Alerts("true/false")
72 void _MIDIOutputMap_MIDIOutputMap() throws Exception {
73 test("MIDIOutputMap", "MIDIOutputMap");
74 }
75
76 @Alerts("true/false")
77 void _MIDIOutput_MIDIOutput() throws Exception {
78 test("MIDIOutput", "MIDIOutput");
79 }
80
81 @Alerts("true/true")
82 void _MIDIPort_MIDIInput() throws Exception {
83 test("MIDIPort", "MIDIInput");
84 }
85
86 @Alerts("true/true")
87 void _MIDIPort_MIDIOutput() throws Exception {
88 test("MIDIPort", "MIDIOutput");
89 }
90
91 @Alerts("true/false")
92 void _MIDIPort_MIDIPort() throws Exception {
93 test("MIDIPort", "MIDIPort");
94 }
95
96 @Alerts("true/false")
97 void _MediaDeviceInfo_MediaDeviceInfo() throws Exception {
98 test("MediaDeviceInfo", "MediaDeviceInfo");
99 }
100
101 @Alerts("true/false")
102 void _MediaDevices_MediaDevices() throws Exception {
103 test("MediaDevices", "MediaDevices");
104 }
105
106 @Alerts("true/false")
107 void _MediaElementAudioSourceNode_MediaElementAudioSourceNode() throws Exception {
108 test("MediaElementAudioSourceNode", "MediaElementAudioSourceNode");
109 }
110
111 @Alerts("true/false")
112 void _MediaEncryptedEvent_MediaEncryptedEvent() throws Exception {
113 test("MediaEncryptedEvent", "MediaEncryptedEvent");
114 }
115
116 @Alerts("true/false")
117 void _MediaError_MediaError() throws Exception {
118 test("MediaError", "MediaError");
119 }
120
121 @Alerts(DEFAULT = "false/false",
122 FF = "true/false",
123 FF_ESR = "true/false")
124 void _MediaKeyError_MediaKeyError() throws Exception {
125 test("MediaKeyError", "MediaKeyError");
126 }
127
128 @Alerts("true/false")
129 void _MediaKeyMessageEvent_MediaKeyMessageEvent() throws Exception {
130 test("MediaKeyMessageEvent", "MediaKeyMessageEvent");
131 }
132
133 @Alerts("true/false")
134 void _MediaKeySession_MediaKeySession() throws Exception {
135 test("MediaKeySession", "MediaKeySession");
136 }
137
138 @Alerts("true/false")
139 void _MediaKeyStatusMap_MediaKeyStatusMap() throws Exception {
140 test("MediaKeyStatusMap", "MediaKeyStatusMap");
141 }
142
143 @Alerts("true/false")
144 void _MediaKeySystemAccess_MediaKeySystemAccess() throws Exception {
145 test("MediaKeySystemAccess", "MediaKeySystemAccess");
146 }
147
148 @Alerts("true/false")
149 void _MediaKeys_MediaKeys() throws Exception {
150 test("MediaKeys", "MediaKeys");
151 }
152
153 @Alerts("true/false")
154 void _MediaList_MediaList() throws Exception {
155 test("MediaList", "MediaList");
156 }
157
158 @Alerts("true/false")
159 void _MediaQueryListEvent_MediaQueryListEvent() throws Exception {
160 test("MediaQueryListEvent", "MediaQueryListEvent");
161 }
162
163 @Alerts("true/false")
164 void _MediaQueryList_MediaQueryList() throws Exception {
165 test("MediaQueryList", "MediaQueryList");
166 }
167
168 @Alerts("true/false")
169 void _MediaRecorder_MediaRecorder() throws Exception {
170 test("MediaRecorder", "MediaRecorder");
171 }
172
173 @Alerts("true/false")
174 void _MediaSource_MediaSource() throws Exception {
175 test("MediaSource", "MediaSource");
176 }
177
178 @Alerts("true/false")
179 void _MediaStreamAudioDestinationNode_MediaStreamAudioDestinationNode() throws Exception {
180 test("MediaStreamAudioDestinationNode", "MediaStreamAudioDestinationNode");
181 }
182
183 @Alerts("true/false")
184 void _MediaStreamAudioSourceNode_MediaStreamAudioSourceNode() throws Exception {
185 test("MediaStreamAudioSourceNode", "MediaStreamAudioSourceNode");
186 }
187
188 @Alerts("true/false")
189 void _MediaStreamEvent_MediaStreamEvent() throws Exception {
190 test("MediaStreamEvent", "MediaStreamEvent");
191 }
192
193 @Alerts("true/false")
194 void _MediaStreamTrackEvent_MediaStreamTrackEvent() throws Exception {
195 test("MediaStreamTrackEvent", "MediaStreamTrackEvent");
196 }
197
198 @Alerts(DEFAULT = "true/true",
199 FF = "false/false",
200 FF_ESR = "false/false")
201 void _MediaStreamTrack_CanvasCaptureMediaStreamTrack() throws Exception {
202 test("MediaStreamTrack", "CanvasCaptureMediaStreamTrack");
203 }
204
205 @Alerts("true/false")
206 void _MediaStreamTrack_MediaStreamTrack() throws Exception {
207 test("MediaStreamTrack", "MediaStreamTrack");
208 }
209
210 @Alerts("true/false")
211 void _MediaStream_MediaStream() throws Exception {
212 test("MediaStream", "MediaStream");
213 }
214
215 @Alerts(DEFAULT = "false/false",
216 FF = "true/true",
217 FF_ESR = "true/true")
218 void _MediaStream_CanvasCaptureMediaStream() throws Exception {
219 test("MediaStream", "CanvasCaptureMediaStream");
220 }
221
222 @Alerts(DEFAULT = "true/false",
223 FF = "false/false",
224 FF_ESR = "false/false")
225 void _MediaStream_webkitMediaStream() throws Exception {
226 test("MediaStream", "webkitMediaStream");
227 }
228
229 @Alerts("true/false")
230 void _MessageChannel_MessageChannel() throws Exception {
231 test("MessageChannel", "MessageChannel");
232 }
233
234 @Alerts("true/false")
235 void _MessageEvent_MessageEvent() throws Exception {
236 test("MessageEvent", "MessageEvent");
237 }
238
239 @Alerts("true/false")
240 void _MessagePort_MessagePort() throws Exception {
241 test("MessagePort", "MessagePort");
242 }
243
244 @Alerts("true/false")
245 void _MimeTypeArray_MimeTypeArray() throws Exception {
246 test("MimeTypeArray", "MimeTypeArray");
247 }
248
249 @Alerts("true/false")
250 void _MimeType_MimeType() throws Exception {
251 test("MimeType", "MimeType");
252 }
253
254 @Alerts("true/true")
255 void _MouseEvent_DragEvent() throws Exception {
256 test("MouseEvent", "DragEvent");
257 }
258
259 @Alerts("true/false")
260 void _MouseEvent_MouseEvent() throws Exception {
261 test("MouseEvent", "MouseEvent");
262 }
263
264 @Alerts(DEFAULT = "false/false",
265 FF = "true/true",
266 FF_ESR = "true/true")
267 void _MouseEvent_MouseScrollEvent() throws Exception {
268 test("MouseEvent", "MouseScrollEvent");
269 }
270
271 @Alerts("true/true")
272 void _MouseEvent_PointerEvent() throws Exception {
273 test("MouseEvent", "PointerEvent");
274 }
275
276 @Alerts("true/true")
277 void _MouseEvent_WheelEvent() throws Exception {
278 test("MouseEvent", "WheelEvent");
279 }
280
281 @Alerts(DEFAULT = "false/false",
282 FF = "true/false",
283 FF_ESR = "true/false")
284 void _MouseScrollEvent_MouseScrollEvent() throws Exception {
285 test("MouseScrollEvent", "MouseScrollEvent");
286 }
287
288 @Alerts(DEFAULT = "false/false",
289 FF_ESR = "true/false")
290 void _MutationEvent_MutationEvent() throws Exception {
291 test("MutationEvent", "MutationEvent");
292 }
293
294 @Alerts("true/false")
295 void _MutationObserver_MutationObserver() throws Exception {
296 test("MutationObserver", "MutationObserver");
297 }
298
299 @Alerts(DEFAULT = "true/false",
300 FF = "false/false",
301 FF_ESR = "false/false")
302 void _MutationObserver_WebKitMutationObserver() throws Exception {
303 test("MutationObserver", "WebKitMutationObserver");
304 }
305
306 @Alerts("true/false")
307 void _MutationRecord_MutationRecord() throws Exception {
308 test("MutationRecord", "MutationRecord");
309 }
310 }