| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 {1, "invalid-vp90-02-v2.webm"}, | 114 {1, "invalid-vp90-02-v2.webm"}, |
| 115 {1, "invalid-vp90-2-00-quantizer-00.webm.ivf.s5861_r01-05_b6-.v2.ivf"}, | 115 {1, "invalid-vp90-2-00-quantizer-00.webm.ivf.s5861_r01-05_b6-.v2.ivf"}, |
| 116 {1, "invalid-vp90-03-v3.webm"}, | 116 {1, "invalid-vp90-03-v3.webm"}, |
| 117 {1, "invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-.ivf"}, | 117 {1, "invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-.ivf"}, |
| 118 {1, "invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-z.ivf"}, | 118 {1, "invalid-vp90-2-00-quantizer-11.webm.ivf.s52984_r01-05_b6-z.ivf"}, |
| 119 {1, "invalid-vp90-2-12-droppable_1.ivf.s3676_r01-05_b6-.ivf"}, | 119 {1, "invalid-vp90-2-12-droppable_1.ivf.s3676_r01-05_b6-.ivf"}, |
| 120 {1, "invalid-vp90-2-05-resize.ivf.s59293_r01-05_b6-.ivf"}, | 120 {1, "invalid-vp90-2-05-resize.ivf.s59293_r01-05_b6-.ivf"}, |
| 121 {1, "invalid-vp90-2-09-subpixel-00.ivf.s20492_r01-05_b6-.v2.ivf"}, | 121 {1, "invalid-vp90-2-09-subpixel-00.ivf.s20492_r01-05_b6-.v2.ivf"}, |
| 122 {1, "invalid-vp91-2-mixedrefcsp-444to420.ivf"}, | 122 {1, "invalid-vp91-2-mixedrefcsp-444to420.ivf"}, |
| 123 {1, "invalid-vp90-2-12-droppable_1.ivf.s73804_r01-05_b6-.ivf"}, | 123 {1, "invalid-vp90-2-12-droppable_1.ivf.s73804_r01-05_b6-.ivf"}, |
| 124 {1, "invalid-vp90-2-03-size-224x196.webm.ivf.s44156_r01-05_b6-.ivf"}, |
| 125 {1, "invalid-vp90-2-03-size-202x210.webm.ivf.s113306_r01-05_b6-.ivf"}, |
| 124 }; | 126 }; |
| 125 | 127 |
| 126 VP9_INSTANTIATE_TEST_CASE(InvalidFileTest, | 128 VP9_INSTANTIATE_TEST_CASE(InvalidFileTest, |
| 127 ::testing::ValuesIn(kVP9InvalidFileTests)); | 129 ::testing::ValuesIn(kVP9InvalidFileTests)); |
| 128 | 130 |
| 129 // This class will include test vectors that are expected to fail | 131 // This class will include test vectors that are expected to fail |
| 130 // peek. However they are still expected to have no fatal failures. | 132 // peek. However they are still expected to have no fatal failures. |
| 131 class InvalidFileInvalidPeekTest : public InvalidFileTest { | 133 class InvalidFileInvalidPeekTest : public InvalidFileTest { |
| 132 protected: | 134 protected: |
| 133 InvalidFileInvalidPeekTest() : InvalidFileTest() {} | 135 InvalidFileInvalidPeekTest() : InvalidFileTest() {} |
| (...skipping 22 matching lines...) Expand all Loading... |
| 156 {4, "invalid-vp90-2-09-subpixel-00.ivf.s19552_r01-05_b6-.v2.ivf"}, | 158 {4, "invalid-vp90-2-09-subpixel-00.ivf.s19552_r01-05_b6-.v2.ivf"}, |
| 157 }; | 159 }; |
| 158 | 160 |
| 159 INSTANTIATE_TEST_CASE_P( | 161 INSTANTIATE_TEST_CASE_P( |
| 160 VP9MultiThreaded, InvalidFileTest, | 162 VP9MultiThreaded, InvalidFileTest, |
| 161 ::testing::Combine( | 163 ::testing::Combine( |
| 162 ::testing::Values( | 164 ::testing::Values( |
| 163 static_cast<const libvpx_test::CodecFactory*>(&libvpx_test::kVP9)), | 165 static_cast<const libvpx_test::CodecFactory*>(&libvpx_test::kVP9)), |
| 164 ::testing::ValuesIn(kMultiThreadedVP9InvalidFileTests))); | 166 ::testing::ValuesIn(kMultiThreadedVP9InvalidFileTests))); |
| 165 } // namespace | 167 } // namespace |
| OLD | NEW |