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