1 Tests MIDIPort implicit open.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS requestMIDIAccess() succeeded with access [object MIDIAccess].
7 Check state transition for setonmidimessage on closed state.
9 PASS port.connection is "closed"
11 PASS handler is called with port [object MIDIInput].
12 PASS eventport.id is "MockInputID"
13 PASS eventport.connection is "open"
14 - check access handler.
15 PASS handler is called with port [object MIDIInput].
16 PASS eventport.id is "MockInputID"
17 PASS eventport.connection is "open"
19 PASS port.connection is "open"
21 Check state transition for addeventlistener on closed state.
22 - check initial state.
23 PASS port.connection is "closed"
25 PASS handler is called with port [object MIDIInput].
26 PASS eventport.id is "MockInputID"
27 PASS eventport.connection is "open"
28 - check access handler.
29 PASS handler is called with port [object MIDIInput].
30 PASS eventport.id is "MockInputID"
31 PASS eventport.connection is "open"
33 PASS port.connection is "open"
34 Check state transition for send on closed state.
35 - check initial state.
36 PASS port.connection is "closed"
38 PASS handler is called with port [object MIDIOutput].
39 PASS eventport.id is "MockOutputID"
40 PASS eventport.connection is "open"
41 - check access handler.
42 PASS handler is called with port [object MIDIOutput].
43 PASS eventport.id is "MockOutputID"
44 PASS eventport.connection is "open"
46 PASS port.connection is "open"
47 PASS successfullyParsed is true