OLD | NEW |
1 Tests that cues are not affected by multiple newlines \n, \r, and \r\n and that
cue not properly separated are treated as one big cue. | 1 Tests that cues are not affected by multiple newlines \n, \r, and \r\n and that
cue not properly separated are treated as one big cue. |
2 | 2 |
3 | 3 |
4 *** Testing text track 0 | 4 *** Testing text track 0 |
5 EXPECTED (cues.length == '3') OK | 5 EXPECTED (cues.length == '3') OK |
6 EXPECTED (cues[0].id == '1') OK | 6 EXPECTED (cues[0].id == '1') OK |
7 EXPECTED (cues[0].startTime == '0') OK | 7 EXPECTED (cues[0].startTime == '0') OK |
8 EXPECTED (cues[0].endTime == '30.5') OK | 8 EXPECTED (cues[0].endTime == '30.5') OK |
9 EXPECTED (cues[0].text == 'Bear is Coming!!!!!') OK | 9 EXPECTED (cues[0].text == 'Bear is Coming!!!!!') OK |
10 EXPECTED (cues[1].id == '2') OK | 10 EXPECTED (cues[1].id == '2') OK |
11 EXPECTED (cues[1].startTime == '31') OK | 11 EXPECTED (cues[1].startTime == '31') OK |
12 EXPECTED (cues[1].endTime == '60.5') OK | 12 EXPECTED (cues[1].endTime == '60.5') OK |
13 EXPECTED (cues[1].text == 'I said Bear is coming!!!!') OK | 13 EXPECTED (cues[1].text == 'I said Bear is coming!!!!') OK |
14 EXPECTED (cues[2].id == '3') OK | 14 EXPECTED (cues[2].id == '3') OK |
15 EXPECTED (cues[2].startTime == '61') OK | 15 EXPECTED (cues[2].startTime == '61') OK |
16 EXPECTED (cues[2].endTime == '361200.5') OK | 16 EXPECTED (cues[2].endTime == '361200.5') OK |
17 EXPECTED (cues[2].text == 'I said Bear is coming now!!!!') OK | 17 EXPECTED (cues[2].text == 'I said Bear is coming now!!!!') OK |
18 | 18 |
19 *** Testing text track 1 | 19 *** Testing text track 1 |
20 EXPECTED (cues.length == '1') OK | 20 EXPECTED (cues.length == '1'), OBSERVED '3' FAIL |
21 END OF TEST | 21 END OF TEST |
22 | 22 |
OLD | NEW |