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

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

Issue 1879353002: 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 comment Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-cue-negative-timestamp.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/track/track-cue-negative-timestamp-expected.txt
diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-negative-timestamp-expected.txt b/third_party/WebKit/LayoutTests/media/track/track-cue-negative-timestamp-expected.txt
deleted file mode 100644
index 4c2d4cdb09b88d0e6ad183b0c4f476e4b3ba0a5c..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/media/track/track-cue-negative-timestamp-expected.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-Tests negative timestamps.
-
-Test that cues with negative startTime are not added:
-EXPECTED (testTrack.track.cues.length == '4') OK
-RUN(textCue = new VTTCue(-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 VTTCue(-110, -3.4, 'Pepperoni?'))
-RUN(testTrack.track.addCue(textCue))
-EXPECTED (testTrack.track.cues.length == '4') OK
-
-Test that setting startTime and endTime to negative values does not affect the value:
-EXPECTED (testTrack.track.cues[3].startTime == '121') OK
-RUN(testTrack.track.cues[3].startTime = -5)
-EXPECTED (testTrack.track.cues[3].startTime == '121') OK
-EXPECTED (testTrack.track.cues[3].endTime == '361200.5') OK
-RUN(testTrack.track.cues[3].endTime = -3439332606)
-EXPECTED (testTrack.track.cues[3].endTime == '361200.5') OK
-END OF TEST
-
« no previous file with comments | « third_party/WebKit/LayoutTests/media/track/track-cue-negative-timestamp.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698