ref: 1ff2935ebf6c537340861bd590329ba5a49b96e3
parent: 48755f9f1a5ccff454340c4efc0176ff122941ba
author: James Zern <jzern@google.com>
date: Thu Feb 25 15:58:56 EST 2016
altref_test: move AltRefTest instantiation w/in VP8 check some configurations may fail if AltRefTest is undefined though VP8_INSTANTIATE_TEST_CASE is defined away. Change-Id: I7272775a506718336bd6cee2225cf83bd72fede5
--- a/test/altref_test.cc
+++ b/test/altref_test.cc
@@ -65,6 +65,9 @@
EXPECT_GE(altref_count(), 1);
}
+VP8_INSTANTIATE_TEST_CASE(AltRefTest,
+ ::testing::Range(kLookAheadMin, kLookAheadMax));
+
#endif // CONFIG_VP8_ENCODER
class AltRefForcedKeyTest
@@ -148,9 +151,6 @@
ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
}
}
-
-VP8_INSTANTIATE_TEST_CASE(AltRefTest,
- ::testing::Range(kLookAheadMin, kLookAheadMax));
VP8_INSTANTIATE_TEST_CASE(
AltRefForcedKeyTest,