blob: dbb39c636289ad17a51032742e0317407416af09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
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"
PASS eventport.connection is "open"
- check access handler.
PASS handler is called with port [object MIDIInput].
PASS eventport.id is "MockInputID"
PASS eventport.connection is "open"
- check final state.
PASS port.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"
PASS eventport.connection is "open"
- check access handler.
PASS handler is called with port [object MIDIInput].
PASS eventport.id is "MockInputID"
PASS eventport.connection is "open"
- check final state.
PASS port.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"
PASS eventport.connection is "open"
- check access handler.
PASS handler is called with port [object MIDIOutput].
PASS eventport.id is "MockOutputID"
PASS eventport.connection is "open"
- check final state.
PASS port.connection is "open"
PASS successfullyParsed is true
TEST COMPLETE
|