Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: LayoutTests/webmidi/open_close-expected.txt

Issue 962523005: Web MIDI: add open() and close() to MIDIPort (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review #14 Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/webmidi/open_close.html ('k') | LayoutTests/webmidi/requestmidiaccess.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/webmidi/open_close-expected.txt
diff --git a/LayoutTests/webmidi/open_close-expected.txt b/LayoutTests/webmidi/open_close-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ad64aba12d29f9f9f69a1ad4a94962e76ce607b4
--- /dev/null
+++ b/LayoutTests/webmidi/open_close-expected.txt
@@ -0,0 +1,54 @@
+Tests MIDIPort.open and MIDIPort.close.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS requestMIDIAccess() succeeded with access [object MIDIAccess].
+Check state transition for close on connected state.
+- check initial state.
+PASS port.state is "connected"
+- check callback arguments.
+PASS callback is called with port [object MIDIInput].
+PASS callbackport.id is "MockInputID"
+PASS callbackport.state is "connected"
+- check final state.
+PASS port.state is "connected"
+Check state transition for open on connected state.
+- check initial state.
+PASS port.state is "connected"
+- check handler port.
+PASS handler is called with port [object MIDIInput].
+PASS eventport.id is "MockInputID"
+PASS eventport.state is "opened"
+- check callback arguments.
+PASS callback is called with port [object MIDIInput].
+PASS callbackport.id is "MockInputID"
+PASS callbackport.state is "opened"
+- check final state.
+PASS port.state is "opened"
+Check state transition for open on opened state.
+- check initial state.
+PASS port.state is "opened"
+- check callback arguments.
+PASS callback is called with port [object MIDIInput].
+PASS callbackport.id is "MockInputID"
+PASS callbackport.state is "opened"
+- check final state.
+PASS port.state is "opened"
+Check state transition for close on opened state.
+- check initial state.
+PASS port.state is "opened"
+- check handler port.
+PASS handler is called with port [object MIDIInput].
+PASS eventport.id is "MockInputID"
+PASS eventport.state is "connected"
+- check callback arguments.
+PASS callback is called with port [object MIDIInput].
+PASS callbackport.id is "MockInputID"
+PASS callbackport.state is "connected"
+- check final state.
+PASS port.state is "connected"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/webmidi/open_close.html ('k') | LayoutTests/webmidi/requestmidiaccess.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698