Bug 1224361 - Added vp8/ivf test case - r=rillian
authorGerald Squelart <gsquelart@mozilla.com>
Thu, 03 Dec 2015 14:14:46 +1100
changeset 309518 ea96a37f1a43e9926be3a930a2f3c7b25b5286ff
parent 309517 6b7901d50318a6e485af823ef7fe9137daa618d9
child 309519 9ca27c3da0328c41fc12915c069e8889c721165f
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
bugs1224361
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 1224361 - Added vp8/ivf test case - r=rillian
dom/media/gtest/TestVPXDecoding.cpp
dom/media/gtest/moz.build
dom/media/gtest/test_case_1224361.vp8.ivf
--- a/dom/media/gtest/TestVPXDecoding.cpp
+++ b/dom/media/gtest/TestVPXDecoding.cpp
@@ -66,21 +66,22 @@ ParseIVFConfig(nsTArray<uint8_t>& data, 
   return codec;
 }
 
 struct TestFileData {
   const char* mFilename;
   vpx_codec_err_t mDecodeResult;
 };
 static const TestFileData testFiles[] = {
+  { "test_case_1224361.vp8.ivf", VPX_CODEC_OK },
   { "test_case_1224363.vp8.ivf", VPX_CODEC_CORRUPT_FRAME },
   { "test_case_1224369.vp8.ivf", VPX_CODEC_CORRUPT_FRAME }
 };
 
-TEST(libvpx, test_case_1224363)
+TEST(libvpx, test_cases)
 {
   for (size_t test = 0; test < ArrayLength(testFiles); ++test) {
     nsTArray<uint8_t> data;
     ReadVPXFile(testFiles[test].mFilename, data);
     ASSERT_GT(data.Length(), 0u);
 
     vpx_codec_dec_cfg_t config;
     vpx_codec_iface_t* dx = ParseIVFConfig(data, config);
--- a/dom/media/gtest/moz.build
+++ b/dom/media/gtest/moz.build
@@ -46,16 +46,17 @@ TEST_HARNESS_FILES.gtest += [
     'dash_dashinit.mp4',
     'id3v2header.mp3',
     'mediasource_test.mp4',
     'noise.mp3',
     'noise_vbr.mp3',
     'short-zero-in-moov.mp4',
     'small-shot.mp3',
     'test.webm',
+    'test_case_1224361.vp8.ivf',
     'test_case_1224363.vp8.ivf',
     'test_case_1224369.vp8.ivf',
 ]
 
 include('/ipc/chromium/chromium-config.mozbuild')
 
 LOCAL_INCLUDES += [
     '/dom/media',
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e2fe942f0e66e7ff18b2626ae0250a02e04ef7b7
GIT binary patch
literal 1497
zc$@**1t$7LOG!om03ZNXP&hC^03-k&0000100003000000000z1poj5000000002+
z7yz9CDnI}v0Du1og@uTPgopwH0>pe@3qIxf0nbkocQk%a6!#kSHTjGEk4$H)@7Hfq
zKd67=Ke>Cs`YHcCzRBnV<$wDD@S*#c>05Kd>I2ok8-CW3#lZb8{IARh#=qjcFZdPw
zr;=aozmz|fe$x9%@;~|j000m;_9KJ+=ckYS-dg^l_6Ge_|8dys(J%H_+VuWiw6nor
zai1SDsPtfVKt*9^{luh6#O+{9SnDZ0tz!-_^9=i+>T#iY-NUt^R`ynpY_oX8dbzs5
z{?_aHpu4Uu&fg$^;QDRm?yV`T<!|ySf{i=<_ZrfE#vbursv5eFJwr;D!K7E8-sc%o
z-+r9CX|aRtCZ*s1XdvC+|7W`W%*ZkG!edm+)S0*Rh2FIP;!ij0>%_pb|3C9{ijn8x
z#Ev1L?f>&cvC&gjZx>nu_=Ldj72|*JB_;7k-5ao*p1HUPJe)0P>f~RF%BL<~Q_RM7
z)y9pTJ%`#{b)2WnuU>kx-`21B3>+_8+O$nZ1$7kqddWQu$0MS9+Oa{v%Zf6=V;Tzt
zpfrmI0c`!Ir?R9!nPj!i`GLM|k<)#xu=aOkK4wb(h!}QAvg_4U)!epd>&{ctgh+VN
z++-?#m4BQ{Q>}EGM?=-h{rXE;w1#giyPpH`Yz0Z#iG+shs%JiFylB=0mTsme%U#<9
z0=noe>1|(D6$=`|MZmw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