2009-04-24 Pierre d'Herbemont <pdherbemont@apple.com>

        Reviewed by Simon Fraser

        <rdar://problem/6805928> Re-export layout test MPEG-4 file to remove unusual edit

        Use better mp4 test file for media tests. The original mp4 file had an unusual
        edit (non-zero start time) which is not supported by all media engines. The new
        movie should also give more useful pixel test results.

        * media/content/test.mp4: Update the movie.
        * media/progress-event-total-expected.txt: Update test results to match movie duration and
        content changes.
        * media/progress-event-total.html: Ditto.
        * media/video-currentTime-set-expected.txt: Ditto.
        * media/video-loop-expected.txt: Ditto.
        * platform/mac/media/video-aspect-ratio-expected.checksum: Ditto.
        * platform/mac/media/video-aspect-ratio-expected.png: Ditto.
        * platform/mac/media/video-controls-rendering-expected.checksum: Ditto.
        * platform/mac/media/video-controls-rendering-expected.png: Ditto.
        * platform/mac/media/video-display-toggle-expected.checksum: Ditto.
        * platform/mac/media/video-display-toggle-expected.png: Ditto.
        * platform/mac/media/video-empty-source-expected.checksum: Ditto.
        * platform/mac/media/video-layer-crash-expected.checksum: Ditto.
        * platform/mac/media/video-layer-crash-expected.png: Ditto.
        * platform/mac/media/video-transformed-expected.checksum: Ditto.
        * platform/mac/media/video-transformed-expected.png: Ditto.
        * platform/mac/media/video-zoom-expected.checksum: Ditto.
        * platform/mac/media/video-zoom-expected.png: Ditto.



git-svn-id: svn://svn.chromium.org/blink/trunk@42836 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent af835c2f
2009-04-24 Pierre d'Herbemont <pdherbemont@apple.com>
Reviewed by Simon Fraser
<rdar://problem/6805928> Re-export layout test MPEG-4 file to remove unusual edit
Use better mp4 test file for media tests. The original mp4 file had an unusual
edit (non-zero start time) which is not supported by all media engines. The new
movie should also give more useful pixel test results.
* media/content/test.mp4: Update the movie.
* media/progress-event-total-expected.txt: Update test results to match movie duration and
content changes.
* media/progress-event-total.html: Ditto.
* media/video-currentTime-set-expected.txt: Ditto.
* media/video-loop-expected.txt: Ditto.
* platform/mac/media/video-aspect-ratio-expected.checksum: Ditto.
* platform/mac/media/video-aspect-ratio-expected.png: Ditto.
* platform/mac/media/video-controls-rendering-expected.checksum: Ditto.
* platform/mac/media/video-controls-rendering-expected.png: Ditto.
* platform/mac/media/video-display-toggle-expected.checksum: Ditto.
* platform/mac/media/video-display-toggle-expected.png: Ditto.
* platform/mac/media/video-empty-source-expected.checksum: Ditto.
* platform/mac/media/video-layer-crash-expected.checksum: Ditto.
* platform/mac/media/video-layer-crash-expected.png: Ditto.
* platform/mac/media/video-transformed-expected.checksum: Ditto.
* platform/mac/media/video-transformed-expected.png: Ditto.
* platform/mac/media/video-zoom-expected.checksum: Ditto.
* platform/mac/media/video-zoom-expected.png: Ditto.
2009-04-24 Kevin McCullough <kmccullough@apple.com> 2009-04-24 Kevin McCullough <kmccullough@apple.com>
When I moved the files I forgot to update the location of the image! When I moved the files I forgot to update the location of the image!
......
...@@ -5,6 +5,6 @@ EXPECTED (event.loaded == '0') OK ...@@ -5,6 +5,6 @@ EXPECTED (event.loaded == '0') OK
EVENT(load) EVENT(load)
EXPECTED (event.lengthComputable == 'true') OK EXPECTED (event.lengthComputable == 'true') OK
EXPECTED (event.loaded > '0') OK EXPECTED (event.loaded > '0') OK
EXPECTED (event.total == '239528') OK EXPECTED (event.total == '188483') OK
END OF TEST END OF TEST
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
testExpected("event.lengthComputable", true); testExpected("event.lengthComputable", true);
testExpected("event.loaded", 0, '>'); testExpected("event.loaded", 0, '>');
testExpected("event.total", 239528); testExpected("event.total", 188483);
endTest(); endTest();
} }
......
...@@ -3,7 +3,7 @@ Test that setting currentTime changes the time, and that 'ended' event is fired ...@@ -3,7 +3,7 @@ Test that setting currentTime changes the time, and that 'ended' event is fired
EVENT(load) EVENT(load)
EXPECTED (video.currentTime == '0') OK EXPECTED (video.currentTime == '0') OK
RUN(video.currentTime = video.duration - 0.2) RUN(video.currentTime = video.duration - 0.2)
EXPECTED (video.currentTime.toFixed(2) == '8.20') OK EXPECTED (video.currentTime.toFixed(2) == '5.83') OK
RUN(video.play()) RUN(video.play())
EVENT(ended) EVENT(ended)
......
...@@ -16,7 +16,7 @@ RUN(video.currentTime = video.duration - 0.4) ...@@ -16,7 +16,7 @@ RUN(video.currentTime = video.duration - 0.4)
EVENT(playing) EVENT(playing)
EXPECTED (video.ended == 'false') OK EXPECTED (video.ended == 'false') OK
EXPECTED (media.currentTime > '0') OK EXPECTED (media.currentTime > '0') OK
EXPECTED (media.currentTime < '8.00') OK EXPECTED (media.currentTime < '5.63') OK
RUN(video.loop = false) RUN(video.loop = false)
RUN(video.currentTime = video.duration - 0.3) RUN(video.currentTime = video.duration - 0.3)
......
20fe9d2ea4736073a8812d80b3cef7d5 bbce497683fb30e04629107c3c8c0009
\ No newline at end of file \ No newline at end of file
1cd1231c0c90562a5f267d8350217331 bf317da4b87ce6fed4dc9f516467697d
\ No newline at end of file \ No newline at end of file
c4f1d8074896e30f6d6ce7c545f53489 5311c5ec0c96c170daf516be906e8c37
\ No newline at end of file \ No newline at end of file
33b5966a02b796fbf89f0638ea86585a 40f8b4275f40abe155e02bc6821d1ce8
\ No newline at end of file \ No newline at end of file
b6ca139cb2752a32712f98e0a1410f78 e9b23bb9f82661972a77fd3fa8a0bf0b
\ No newline at end of file \ No newline at end of file
c472bc5c5a1c11eb604574cccdd5a98e eb6eb0c5fec9539383eddc0b72e7e826
\ No newline at end of file \ No newline at end of file
f8d0004992fe96751baef23ba10f0fe9 a21b801b42e9444b7097d969e214e933
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment