| 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 closed state. | |
| 8 - check initial state. | |
| 9 PASS port.connection is "closed" | |
| 10 - check callback arguments. | |
| 11 PASS callback is called with port [object MIDIInput]. | |
| 12 PASS callbackport.id is "MockInputID" | |
| 13 PASS callbackport.connection is "closed" | |
| 14 - check final state. | |
| 15 PASS port.connection is "closed" | |
| 16 Check state transition for open on closed state. | |
| 17 - check initial state. | |
| 18 PASS port.connection is "closed" | |
| 19 - check port handler. | |
| 20 PASS handler is called with port [object MIDIInput]. | |
| 21 PASS eventport.id is "MockInputID" | |
| 22 PASS eventport.connection is "open" | |
| 23 - check access handler. | |
| 24 PASS handler is called with port [object MIDIInput]. | |
| 25 PASS eventport.id is "MockInputID" | |
| 26 PASS eventport.connection is "open" | |
| 27 - check callback arguments. | |
| 28 PASS callback is called with port [object MIDIInput]. | |
| 29 PASS callbackport.id is "MockInputID" | |
| 30 PASS callbackport.connection is "open" | |
| 31 - check final state. | |
| 32 PASS port.connection is "open" | |
| 33 Check state transition for open on open state. | |
| 34 - check initial state. | |
| 35 PASS port.connection is "open" | |
| 36 - check callback arguments. | |
| 37 PASS callback is called with port [object MIDIInput]. | |
| 38 PASS callbackport.id is "MockInputID" | |
| 39 PASS callbackport.connection is "open" | |
| 40 - check final state. | |
| 41 PASS port.connection is "open" | |
| 42 Check state transition for close on open state. | |
| 43 - check initial state. | |
| 44 PASS port.connection is "open" | |
| 45 - check port handler. | |
| 46 PASS handler is called with port [object MIDIInput]. | |
| 47 PASS eventport.id is "MockInputID" | |
| 48 PASS eventport.connection is "closed" | |
| 49 - check access handler. | |
| 50 PASS handler is called with port [object MIDIInput]. | |
| 51 PASS eventport.id is "MockInputID" | |
| 52 PASS eventport.connection is "closed" | |
| 53 - check callback arguments. | |
| 54 PASS callback is called with port [object MIDIInput]. | |
| 55 PASS callbackport.id is "MockInputID" | |
| 56 PASS callbackport.connection is "closed" | |
| 57 - check final state. | |
| 58 PASS port.connection is "closed" | |
| 59 PASS successfullyParsed is true | |
| 60 | |
| 61 TEST COMPLETE | |
| 62 | |
| OLD | NEW |