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

Unified Diff: LayoutTests/http/tests/eventsource/eventsource-eof-expected.txt

Issue 347043002: Rework EventSource tests for better Worker test coverage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move out CORS tests Created 6 years, 6 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/http/tests/eventsource/eventsource-eof-expected.txt
diff --git a/LayoutTests/http/tests/eventsource/eventsource-eof-expected.txt b/LayoutTests/http/tests/eventsource/eventsource-eof-expected.txt
index 47ea8e56257457c4789998c5129f53bec6426472..db8eab930d6b756606dd80090274ef6e1c8a6420 100644
--- a/LayoutTests/http/tests/eventsource/eventsource-eof-expected.txt
+++ b/LayoutTests/http/tests/eventsource/eventsource-eof-expected.txt
@@ -1,7 +1,21 @@
-Test that EventSource discards event data if there is no newline before eof. Should print a series of PASS messages followed by DONE.
+Test that EventSource discards event data if there is no newline before eof.
-PASS: got event with expected data, lastEventId, and type
-PASS: got event with expected data, lastEventId, and type
-PASS: got event with expected data, lastEventId, and type
-DONE
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS evt.type is "message"
+PASS evt.data is "DATA1"
+PASS evt.lastEventId is "1"
+PASS evt.type is "message"
+PASS evt.data is "DATA2"
+PASS evt.lastEventId is "2"
+PASS evt.type is "message"
+PASS evt.data is "DATA3"
+PASS evt.lastEventId is "3"
+PASS evt.type is "msg"
+PASS evt.data is "DATA"
+PASS evt.lastEventId is "3.1"
+PASS successfullyParsed is true
+
+TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698