OLD | NEW |
(Empty) | |
| 1 Tests MIDIPort.open and MIDIPort.close. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS requestMIDIAccess() succeeded with access [object MIDIAccess]. |
| 7 Check state transition for close on connected state. |
| 8 - check initial state. |
| 9 PASS port.state is "connected" |
| 10 - check callback arguments. |
| 11 PASS callback is called with port [object MIDIInput]. |
| 12 PASS callbackport.id is "MockInputID" |
| 13 PASS callbackport.state is "connected" |
| 14 - check final state. |
| 15 PASS port.state is "connected" |
| 16 Check state transition for open on connected state. |
| 17 - check initial state. |
| 18 PASS port.state is "connected" |
| 19 - check handler port. |
| 20 PASS handler is called with port [object MIDIInput]. |
| 21 PASS eventport.id is "MockInputID" |
| 22 PASS eventport.state is "opened" |
| 23 - check callback arguments. |
| 24 PASS callback is called with port [object MIDIInput]. |
| 25 PASS callbackport.id is "MockInputID" |
| 26 PASS callbackport.state is "opened" |
| 27 - check final state. |
| 28 PASS port.state is "opened" |
| 29 Check state transition for open on opened state. |
| 30 - check initial state. |
| 31 PASS port.state is "opened" |
| 32 - check callback arguments. |
| 33 PASS callback is called with port [object MIDIInput]. |
| 34 PASS callbackport.id is "MockInputID" |
| 35 PASS callbackport.state is "opened" |
| 36 - check final state. |
| 37 PASS port.state is "opened" |
| 38 Check state transition for close on opened state. |
| 39 - check initial state. |
| 40 PASS port.state is "opened" |
| 41 - check handler port. |
| 42 PASS handler is called with port [object MIDIInput]. |
| 43 PASS eventport.id is "MockInputID" |
| 44 PASS eventport.state is "connected" |
| 45 - check callback arguments. |
| 46 PASS callback is called with port [object MIDIInput]. |
| 47 PASS callbackport.id is "MockInputID" |
| 48 PASS callbackport.state is "connected" |
| 49 - check final state. |
| 50 PASS port.state is "connected" |
| 51 PASS successfullyParsed is true |
| 52 |
| 53 TEST COMPLETE |
| 54 |
OLD | NEW |