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

Unified Diff: LayoutTests/webmidi/implicit-open-expected.txt

Issue 1051903002: Web MIDI: implement implicit open() on send() and setOnmidimessage() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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
Index: LayoutTests/webmidi/implicit-open-expected.txt
diff --git a/LayoutTests/webmidi/implicit-open-expected.txt b/LayoutTests/webmidi/implicit-open-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..04d95fbaa45fdd33c0875a7173ee59c2b8a0d8a5
--- /dev/null
+++ b/LayoutTests/webmidi/implicit-open-expected.txt
@@ -0,0 +1,36 @@
+Tests MIDIPort implicit open.
+
+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 midimessage 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
+

Powered by Google App Engine
This is Rietveld 408576698