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

Unified Diff: LayoutTests/media/track/track-cue-negative-timestamp-expected.txt

Issue 72543003: Update TextTrackCue tests to use VTTCue where appropriate (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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/media/track/track-cue-negative-timestamp-expected.txt
diff --git a/LayoutTests/media/track/track-cue-negative-timestamp-expected.txt b/LayoutTests/media/track/track-cue-negative-timestamp-expected.txt
index b5b07d4262f74b539e7a807363e84f0d36759ddd..9d627b359041d33534acf4a295a5c23da1817269 100644
--- a/LayoutTests/media/track/track-cue-negative-timestamp-expected.txt
+++ b/LayoutTests/media/track/track-cue-negative-timestamp-expected.txt
@@ -2,13 +2,13 @@ Tests negative timestamps.
Test that cues with negative startTime are not added:
EXPECTED (testTrack.track.cues.length == '4') OK
-RUN(textCue = new TextTrackCue('sausage-cue', -3439332606, 3.4, 'Sausage?'))
+RUN(textCue = new VTTCue('sausage-cue', -3439332606, 3.4, 'Sausage?'))
RUN(testTrack.track.addCue(textCue))
EXPECTED (testTrack.track.cues.length == '4') OK
Test that cues with negative startTime and negative endTime are not added:
EXPECTED (testTrack.track.cues.length == '4') OK
-RUN(textCue = new TextTrackCue('pepperoni-cue', -110, -3.4, 'Pepperoni?'))
+RUN(textCue = new VTTCue('pepperoni-cue', -110, -3.4, 'Pepperoni?'))
RUN(testTrack.track.addCue(textCue))
EXPECTED (testTrack.track.cues.length == '4') OK

Powered by Google App Engine
This is Rietveld 408576698