shithub: libvpx

Download patch

ref: e1ad39d7540be37cc36d48e902fe01d97d4fccca
parent: 32c38a20ba516a9c659db5f8895de6a19ef39508
parent: 0dcd21fb1b487bc7fc6f09d612959c6b794bfeb8
author: James Zern <[email protected]>
date: Thu Mar 17 22:38:14 EDT 2016

Merge "altref_test: mark AltRefForcedKeyTest as large"

--- a/test/altref_test.cc
+++ b/test/altref_test.cc
@@ -70,17 +70,17 @@
 
 #endif  // CONFIG_VP8_ENCODER
 
-class AltRefForcedKeyTest
+class AltRefForcedKeyTestLarge
     : public ::libvpx_test::EncoderTest,
       public ::libvpx_test::CodecTestWith2Params<libvpx_test::TestMode, int> {
  protected:
-  AltRefForcedKeyTest()
+  AltRefForcedKeyTestLarge()
       : EncoderTest(GET_PARAM(0)),
         encoding_mode_(GET_PARAM(1)),
         cpu_used_(GET_PARAM(2)),
         forced_kf_frame_num_(1),
         frame_num_(0) {}
-  virtual ~AltRefForcedKeyTest() {}
+  virtual ~AltRefForcedKeyTestLarge() {}
 
   virtual void SetUp() {
     InitializeConfig();
@@ -124,7 +124,7 @@
   unsigned int frame_num_;
 };
 
-TEST_P(AltRefForcedKeyTest, Frame1IsKey) {
+TEST_P(AltRefForcedKeyTestLarge, Frame1IsKey) {
   const vpx_rational timebase = { 1, 30 };
   const int lag_values[] = { 3, 15, 25, -1 };
 
@@ -138,7 +138,7 @@
   }
 }
 
-TEST_P(AltRefForcedKeyTest, ForcedFrameIsKey) {
+TEST_P(AltRefForcedKeyTestLarge, ForcedFrameIsKey) {
   const vpx_rational timebase = { 1, 30 };
   const int lag_values[] = { 3, 15, 25, -1 };
 
@@ -153,17 +153,17 @@
 }
 
 VP8_INSTANTIATE_TEST_CASE(
-    AltRefForcedKeyTest,
+    AltRefForcedKeyTestLarge,
     ::testing::Values(::libvpx_test::kOnePassGood),
     ::testing::Range(0, 9));
 
 VP9_INSTANTIATE_TEST_CASE(
-    AltRefForcedKeyTest,
+    AltRefForcedKeyTestLarge,
     ::testing::Values(::libvpx_test::kOnePassGood),
     ::testing::Range(0, 9));
 
 VP10_INSTANTIATE_TEST_CASE(
-    AltRefForcedKeyTest,
+    AltRefForcedKeyTestLarge,
     ::testing::Values(::libvpx_test::kOnePassGood),
     ::testing::Range(0, 9));