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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-cues-missed-expected.txt

Issue 1905923004: Convert track tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 7 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 unified diff | Download patch
OLDNEW
(Empty)
1 Tests that events are triggered for missed (skipped) cues during normal playback .
2
3 EVENT(canplaythrough)
4 EXPECTED (testTrack.track.cues.length == '7') OK
5 RUN(video.play())
6
7 EVENT(enter)
8 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'I said Bear is comi ng now!!!!') OK
9 EXPECTED (currentCue.id == '3') OK
10
11 EVENT(exit)
12 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'I said Bear is comi ng now!!!!') OK
13 EXPECTED (currentCue.id == '3') OK
14
15 EVENT(enter)
16 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'This is the second missed cue in the test.') OK
17 EXPECTED (currentCue.id == '4') OK
18
19 EVENT(exit)
20 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'This is the second missed cue in the test.') OK
21 EXPECTED (currentCue.id == '4') OK
22
23 EVENT(enter)
24 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'Third missed cue - zero-length cue.') OK
25 EXPECTED (currentCue.id == '5') OK
26
27 EVENT(exit)
28 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'Third missed cue - zero-length cue.') OK
29 EXPECTED (currentCue.id == '5') OK
30
31 EVENT(enter)
32 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'Fourth missed cue.' ) OK
33 EXPECTED (currentCue.id == '6') OK
34
35 EVENT(exit)
36 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'Fourth missed cue.' ) OK
37 EXPECTED (currentCue.id == '6') OK
38
39 EVENT(enter)
40 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'Negative length cue . Should be treated correctly.') OK
41 EXPECTED (currentCue.id == '7') OK
42
43 EVENT(exit)
44 EXPECTED (testTrack.track.cues.getCueById(cueCount).text == 'Negative length cue . Should be treated correctly.') OK
45 EXPECTED (currentCue.id == '7') OK
46 EVENT(ended)
47 END OF TEST
48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698