Bug 1224369 - p2: Added vp8/ivf test case - r=rillian
authorGerald Squelart <gsquelart@mozilla.com>
Thu, 03 Dec 2015 14:14:46 +1100
changeset 309517 6b7901d50318a6e485af823ef7fe9137daa618d9
parent 309516 06c9e401ee3c3b62a4d488d17f56c1c592164e95
child 309518 ea96a37f1a43e9926be3a930a2f3c7b25b5286ff
push id5513
push userraliiev@mozilla.com
push dateMon, 25 Jan 2016 13:55:34 +0000
treeherdermozilla-beta@5ee97dd05b5c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrillian
bugs1224369
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1224369 - p2: Added vp8/ivf test case - r=rillian
dom/media/gtest/TestVPXDecoding.cpp
dom/media/gtest/moz.build
dom/media/gtest/test_case_1224369.vp8.ivf
--- a/dom/media/gtest/TestVPXDecoding.cpp
+++ b/dom/media/gtest/TestVPXDecoding.cpp
@@ -66,17 +66,18 @@ ParseIVFConfig(nsTArray<uint8_t>& data, 
   return codec;
 }
 
 struct TestFileData {
   const char* mFilename;
   vpx_codec_err_t mDecodeResult;
 };
 static const TestFileData testFiles[] = {
-  { "test_case_1224363.vp8.ivf", VPX_CODEC_CORRUPT_FRAME }
+  { "test_case_1224363.vp8.ivf", VPX_CODEC_CORRUPT_FRAME },
+  { "test_case_1224369.vp8.ivf", VPX_CODEC_CORRUPT_FRAME }
 };
 
 TEST(libvpx, test_case_1224363)
 {
   for (size_t test = 0; test < ArrayLength(testFiles); ++test) {
     nsTArray<uint8_t> data;
     ReadVPXFile(testFiles[test].mFilename, data);
     ASSERT_GT(data.Length(), 0u);
--- a/dom/media/gtest/moz.build
+++ b/dom/media/gtest/moz.build
@@ -47,16 +47,17 @@ TEST_HARNESS_FILES.gtest += [
     'id3v2header.mp3',
     'mediasource_test.mp4',
     'noise.mp3',
     'noise_vbr.mp3',
     'short-zero-in-moov.mp4',
     'small-shot.mp3',
     'test.webm',
     'test_case_1224363.vp8.ivf',
+    'test_case_1224369.vp8.ivf',
 ]
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 LOCAL_INCLUDES += [
     '/dom/media',
     '/dom/media/eme',
     '/dom/media/encoder',
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..2f8deb1148b29b4bce415488219c1ea664f9a1bd
GIT binary patch
literal 204
zc${<b_H<)lP+$lPurP37{J<c`z`(!=#7qnjuz&#p41^fwGHMAhNHEk#=zn40Xk;;t
qXJTLzWBJb3m@+^6_H1>FY9R6elO&^h26A+PP}LWPfBzTX{RjXDpEPU$