Automatically count test vectors and make the tables const.

Change-Id: I742b0f26b7d735e75c3653a3e52bd4f4fc198d3d
This commit is contained in:
Alex Converse
2014-03-27 14:58:43 -07:00
parent 4a42047b4e
commit c2cc5598f5
4 changed files with 19 additions and 10 deletions

View File

@@ -462,5 +462,7 @@ TEST_F(ExternalFrameBufferTest, SetAfterDecode) {
}
VP9_INSTANTIATE_TEST_CASE(ExternalFrameBufferMD5Test,
::testing::ValuesIn(libvpx_test::kVP9TestVectors));
::testing::ValuesIn(libvpx_test::kVP9TestVectors,
libvpx_test::kVP9TestVectors +
libvpx_test::kNumVP9TestVectors));
} // namespace