OLD | NEW |
1 Test EventSource states for different status codes. Should print a series of PAS
S messages followed by DONE. | 1 Test EventSource states for different status codes. |
2 | 2 |
3 PASS: status code 200 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO
SED | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 PASS: status code 204 resulted in states CONNECTING, CLOSED, CLOSED | 4 |
5 PASS: status code 205 resulted in states CONNECTING, CLOSED, CLOSED | 5 |
6 PASS: status code 202 resulted in states CONNECTING, CLOSED, CLOSED | 6 PASS arrayCompare(states, tests[count].expectedStates) is true |
7 PASS: status code 301 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO
SED | 7 PASS status code 200 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS
ED |
8 PASS: status code 302 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO
SED | 8 PASS arrayCompare(states, tests[count].expectedStates) is true |
9 PASS: status code 303 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO
SED | 9 PASS status code 204 resulted in states CONNECTING, CLOSED, CLOSED |
10 PASS: status code 307 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLO
SED | 10 PASS arrayCompare(states, tests[count].expectedStates) is true |
11 PASS: status code 404 resulted in states CONNECTING, CLOSED, CLOSED | 11 PASS status code 205 resulted in states CONNECTING, CLOSED, CLOSED |
| 12 PASS arrayCompare(states, tests[count].expectedStates) is true |
| 13 PASS status code 202 resulted in states CONNECTING, CLOSED, CLOSED |
| 14 PASS arrayCompare(states, tests[count].expectedStates) is true |
| 15 PASS status code 301 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS
ED |
| 16 PASS arrayCompare(states, tests[count].expectedStates) is true |
| 17 PASS status code 302 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS
ED |
| 18 PASS arrayCompare(states, tests[count].expectedStates) is true |
| 19 PASS status code 303 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS
ED |
| 20 PASS arrayCompare(states, tests[count].expectedStates) is true |
| 21 PASS status code 307 resulted in states CONNECTING, OPEN, OPEN, CONNECTING, CLOS
ED |
| 22 PASS arrayCompare(states, tests[count].expectedStates) is true |
| 23 PASS status code 404 resulted in states CONNECTING, CLOSED, CLOSED |
12 DONE | 24 DONE |
| 25 PASS successfullyParsed is true |
13 | 26 |
| 27 TEST COMPLETE |
| 28 |
OLD | NEW |