blob: ee00c38ecb1cff6775a3a4cc6452676dc4af0754 [file] [log] [blame]
Tests MIDIPort implicit open.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS PermissionsHelper.setPermission is defined.
PASS requestMIDIAccess() succeeded with access [object MIDIAccess].
Check state transition for setonmidimessage on closed state.
- check initial state.
PASS port.connection is "closed"
- check port handler.
PASS handler is called with port [object MIDIInput].
PASS eventport.id is "MockInputID-0"
PASS eventport.connection is "open"
- check access handler.
PASS handler is called with port [object MIDIInput].
PASS eventport.id is "MockInputID-0"
PASS eventport.connection is "open"
- reset input device
Check state transition for addeventlistener on closed state.
- check initial state.
PASS port.connection is "closed"
- check port handler.
PASS handler is called with port [object MIDIInput].
PASS eventport.id is "MockInputID-0"
PASS eventport.connection is "open"
- check access handler.
PASS handler is called with port [object MIDIInput].
PASS eventport.id is "MockInputID-0"
PASS eventport.connection is "open"
Check state transition for send on closed state.
- check initial state.
PASS port.connection is "closed"
- check port handler.
PASS handler is called with port [object MIDIOutput].
PASS eventport.id is "MockOutputID-0"
PASS eventport.connection is "open"
- check access handler.
PASS handler is called with port [object MIDIOutput].
PASS eventport.id is "MockOutputID-0"
PASS eventport.connection is "open"
PASS successfullyParsed is true
TEST COMPLETE