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