]> granicus.if.org Git - libvpx/commitdiff
Upstream GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST
authorSarah Parker <sarahparker@google.com>
Wed, 9 Sep 2020 23:10:17 +0000 (16:10 -0700)
committerSarah Parker <sarahparker@google.com>
Fri, 11 Sep 2020 02:25:24 +0000 (02:25 +0000)
BUG=b/159031848

Change-Id: I013770f4e54d0ea92304fa3e9cf4d46f5723f129

test/avg_test.cc
test/dct16x16_test.cc
test/fdct8x8_test.cc
test/lpf_test.cc
test/quantize_test.cc
test/sum_squares_test.cc
test/variance_test.cc
test/vp9_block_error_test.cc
test/vp9_denoiser_test.cc
test/vp9_intrapred_test.cc

index 4bc1944b1c661ec3205bd7a11549eb288f9ba9ee..196522ce588a9b08e51ffc2b83ce2adb04c5f788 100644 (file)
@@ -202,6 +202,7 @@ class IntProRowTest : public AverageTestBase<uint8_t>,
   int16_t *hbuf_asm_;
   int16_t *hbuf_c_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(IntProRowTest);
 
 typedef int16_t (*IntProColFunc)(uint8_t const *ref, const int width);
 
@@ -228,6 +229,7 @@ class IntProColTest : public AverageTestBase<uint8_t>,
   int16_t sum_asm_;
   int16_t sum_c_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(IntProColTest);
 #endif  // HAVE_NEON || HAVE_SSE2 || HAVE_MSA
 
 typedef int (*SatdFunc)(const tran_low_t *coeffs, int length);
index 321c66e4e922f0c18c2a413178507062b62013da..c04880ec95f4fd972af1cf26fa3e97417a1b05b0 100644 (file)
@@ -740,6 +740,7 @@ class InvTrans16x16DCT : public Trans16x16TestBase,
   IdctFunc inv_txfm_;
   int thresh_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(InvTrans16x16DCT);
 
 TEST_P(InvTrans16x16DCT, CompareReference) {
   CompareInvReference(ref_txfm_, thresh_);
index 770337da0003bdd9969477f73f2de419f5eaf5a4..0822666e706dfb74386fe7a28ed410fa8acd20fc 100644 (file)
@@ -625,6 +625,7 @@ class InvTrans8x8DCT : public FwdTrans8x8TestBase,
   IdctFunc inv_txfm_;
   int thresh_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(InvTrans8x8DCT);
 
 TEST_P(InvTrans8x8DCT, CompareReference) {
   CompareInvReference(ref_txfm_, thresh_);
index 2c632a5a8cb667774afa726b153fe4433db04807..62c6f30a07039ffc177d403fecdd745cd2c09323 100644 (file)
@@ -145,6 +145,7 @@ class Loop8Test6Param : public ::testing::TestWithParam<loop8_param_t> {
   loop_op_t loopfilter_op_;
   loop_op_t ref_loopfilter_op_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(Loop8Test6Param);
 
 #if HAVE_NEON || HAVE_SSE2 || \
     (HAVE_DSPR2 || HAVE_MSA && !CONFIG_VP9_HIGHBITDEPTH)
@@ -166,6 +167,7 @@ class Loop8Test9Param : public ::testing::TestWithParam<dualloop8_param_t> {
   dual_loop_op_t loopfilter_op_;
   dual_loop_op_t ref_loopfilter_op_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(Loop8Test9Param);
 #endif  // HAVE_NEON || HAVE_SSE2 || (HAVE_DSPR2 || HAVE_MSA &&
         // (!CONFIG_VP9_HIGHBITDEPTH))
 
index b30b90f8f5d8f39e58676608681f9a74672be60b..792b21432eb76f70088a6a5eb58ef1c20e89069b 100644 (file)
@@ -146,6 +146,7 @@ class QuantizeTest : public QuantizeTestBase,
   VP8Quantize asm_quant_;
   VP8Quantize c_quant_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(QuantizeTest);
 
 TEST_P(QuantizeTest, TestZeroInput) {
   FillCoeffConstant(0);
index a47f5b5b1b67c8873cc3b00b28ea10671e876edc..df6da840376cce579ea5fc05df46e20a2e197be6 100644 (file)
@@ -45,6 +45,7 @@ class SumSquaresTest : public ::testing::TestWithParam<SumSquaresParam> {
   SSI16Func ref_func_;
   SSI16Func tst_func_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(SumSquaresTest);
 
 TEST_P(SumSquaresTest, OperationCheck) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
index 72306d90c3066248c421f0da30107ae5f1e0e305..1b76b204192559f0bd104e7d8727948e1d96e2d2 100644 (file)
@@ -840,6 +840,7 @@ INSTANTIATE_TEST_SUITE_P(
                       MseParams(4, 4, &vpx_highbd_8_mse8x16_c),
                       MseParams(4, 4, &vpx_highbd_8_mse8x8_c)));
 */
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(VpxHBDMseTest);
 
 INSTANTIATE_TEST_SUITE_P(
     C, VpxHBDVarianceTest,
index dc1ff49c68cbcc65136a729b21ac21e78faf417c..b93b014e652a051d8e2301242a5ca720dc4458b0 100644 (file)
@@ -67,6 +67,7 @@ class BlockErrorTest : public ::testing::TestWithParam<BlockErrorParam> {
   HBDBlockErrorFunc error_block_op_;
   HBDBlockErrorFunc ref_error_block_op_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(BlockErrorTest);
 
 TEST_P(BlockErrorTest, OperationCheck) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
index 3d76edfaa226ef78f28e1cfd9376bc2f0149cd43..d884b7eb92583ba536d99b50e1f282bcbd037535 100644 (file)
@@ -51,6 +51,7 @@ class VP9DenoiserTest
  protected:
   BLOCK_SIZE bs_;
 };
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(VP9DenoiserTest);
 
 TEST_P(VP9DenoiserTest, BitexactCheck) {
   ACMRandom rnd(ACMRandom::DeterministicSeed());
index fdcccd5c22f82fbd6b836768d297d1ad2475a7e1..ccace719ea7dbfa09adb51766c8156324792e922 100644 (file)
@@ -468,6 +468,8 @@ void IntraPredTest<uint16_t, HighbdIntraPredParam>::Predict() {
 }
 
 typedef IntraPredTest<uint16_t, HighbdIntraPredParam> VP9HighbdIntraPredTest;
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(VP9HighbdIntraPredTest);
+
 TEST_P(VP9HighbdIntraPredTest, HighbdIntraPredTests) {
   // max block size is 32
   DECLARE_ALIGNED(16, uint16_t, left_col[2 * 32]);