History

Upstream GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST

BUG=b/159031848

Sarah Parker committed 6 years ago

Commit ea0bc1b1 parent d1a789710 files · +13 −0Browse files

Showing the changes to test (10 of 10 files). Show all

Unified · Split

10 files
  1. test/avg_test.cc +2 −0
  2. test/dct16x16_test.cc +1 −0
  3. test/fdct8x8_test.cc +1 −0
  4. test/lpf_test.cc +2 −0
  5. test/quantize_test.cc +1 −0
  6. test/sum_squares_test.cc +1 −0
  7. test/variance_test.cc +1 −0
  8. test/vp9_block_error_test.cc +1 −0
  9. test/vp9_denoiser_test.cc +1 −0
  10. test/vp9_intrapred_test.cc +2 −0
test/avg_test.cc+2−0
@@ -202,6 +202,7 @@ class IntProRowTest : public AverageTestBase<uint8_t>, · 201 unmodified lines
202 int16_t *hbuf_asm_;202 int16_t *hbuf_asm_;
203 int16_t *hbuf_c_;203 int16_t *hbuf_c_;
204};204};
205GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(IntProRowTest);
205 206
206typedef int16_t (*IntProColFunc)(uint8_t const *ref, const int width);207typedef int16_t (*IntProColFunc)(uint8_t const *ref, const int width);
207 208
@@ -228,6 +229,7 @@ class IntProColTest : public AverageTestBase<uint8_t>, · 20 unmodified lines
228 int16_t sum_asm_;229 int16_t sum_asm_;
229 int16_t sum_c_;230 int16_t sum_c_;
230};231};
232GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(IntProColTest);
231#endif // HAVE_NEON || HAVE_SSE2 || HAVE_MSA233#endif // HAVE_NEON || HAVE_SSE2 || HAVE_MSA
232 234
233typedef int (*SatdFunc)(const tran_low_t *coeffs, int length);235typedef int (*SatdFunc)(const tran_low_t *coeffs, int length);
test/dct16x16_test.cc+1−0
@@ -740,6 +740,7 @@ class InvTrans16x16DCT : public Trans16x16TestBase, · 739 unmodified lines
740 IdctFunc inv_txfm_;740 IdctFunc inv_txfm_;
741 int thresh_;741 int thresh_;
742};742};
743GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(InvTrans16x16DCT);
743 744
744TEST_P(InvTrans16x16DCT, CompareReference) {745TEST_P(InvTrans16x16DCT, CompareReference) {
745 CompareInvReference(ref_txfm_, thresh_);746 CompareInvReference(ref_txfm_, thresh_);
test/fdct8x8_test.cc+1−0
@@ -625,6 +625,7 @@ class InvTrans8x8DCT : public FwdTrans8x8TestBase, · 624 unmodified lines
625 IdctFunc inv_txfm_;625 IdctFunc inv_txfm_;
626 int thresh_;626 int thresh_;
627};627};
628GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(InvTrans8x8DCT);
628 629
629TEST_P(InvTrans8x8DCT, CompareReference) {630TEST_P(InvTrans8x8DCT, CompareReference) {
630 CompareInvReference(ref_txfm_, thresh_);631 CompareInvReference(ref_txfm_, thresh_);
test/lpf_test.cc+2−0
@@ -145,6 +145,7 @@ class Loop8Test6Param : public ::testing::TestWithParam<loop8_param_t> { · 144 unmodified lines
145 loop_op_t loopfilter_op_;145 loop_op_t loopfilter_op_;
146 loop_op_t ref_loopfilter_op_;146 loop_op_t ref_loopfilter_op_;
147};147};
148GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(Loop8Test6Param);
148 149
149#if HAVE_NEON || HAVE_SSE2 || \150#if HAVE_NEON || HAVE_SSE2 || \
150 (HAVE_DSPR2 || HAVE_MSA && !CONFIG_VP9_HIGHBITDEPTH)151 (HAVE_DSPR2 || HAVE_MSA && !CONFIG_VP9_HIGHBITDEPTH)
@@ -166,6 +167,7 @@ class Loop8Test9Param : public ::testing::TestWithParam<dualloop8_param_t> { · 15 unmodified lines
166 dual_loop_op_t loopfilter_op_;167 dual_loop_op_t loopfilter_op_;
167 dual_loop_op_t ref_loopfilter_op_;168 dual_loop_op_t ref_loopfilter_op_;
168};169};
170GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(Loop8Test9Param);
169#endif // HAVE_NEON || HAVE_SSE2 || (HAVE_DSPR2 || HAVE_MSA &&171#endif // HAVE_NEON || HAVE_SSE2 || (HAVE_DSPR2 || HAVE_MSA &&
170 // (!CONFIG_VP9_HIGHBITDEPTH))172 // (!CONFIG_VP9_HIGHBITDEPTH))
171 173
test/quantize_test.cc+1−0
@@ -146,6 +146,7 @@ class QuantizeTest : public QuantizeTestBase, · 145 unmodified lines
146 VP8Quantize asm_quant_;146 VP8Quantize asm_quant_;
147 VP8Quantize c_quant_;147 VP8Quantize c_quant_;
148};148};
149GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(QuantizeTest);
149 150
150TEST_P(QuantizeTest, TestZeroInput) {151TEST_P(QuantizeTest, TestZeroInput) {
151 FillCoeffConstant(0);152 FillCoeffConstant(0);
test/sum_squares_test.cc+1−0
@@ -45,6 +45,7 @@ class SumSquaresTest : public ::testing::TestWithParam<SumSquaresParam> { · 44 unmodified lines
45 SSI16Func ref_func_;45 SSI16Func ref_func_;
46 SSI16Func tst_func_;46 SSI16Func tst_func_;
47};47};
48GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(SumSquaresTest);
48 49
49TEST_P(SumSquaresTest, OperationCheck) {50TEST_P(SumSquaresTest, OperationCheck) {
50 ACMRandom rnd(ACMRandom::DeterministicSeed());51 ACMRandom rnd(ACMRandom::DeterministicSeed());
test/variance_test.cc+1−0
@@ -840,6 +840,7 @@ INSTANTIATE_TEST_SUITE_P( · 839 unmodified lines
840 MseParams(4, 4, &vpx_highbd_8_mse8x16_c),840 MseParams(4, 4, &vpx_highbd_8_mse8x16_c),
841 MseParams(4, 4, &vpx_highbd_8_mse8x8_c)));841 MseParams(4, 4, &vpx_highbd_8_mse8x8_c)));
842*/842*/
843GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(VpxHBDMseTest);
843 844
844INSTANTIATE_TEST_SUITE_P(845INSTANTIATE_TEST_SUITE_P(
845 C, VpxHBDVarianceTest,846 C, VpxHBDVarianceTest,
test/vp9_block_error_test.cc+1−0
@@ -67,6 +67,7 @@ class BlockErrorTest : public ::testing::TestWithParam<BlockErrorParam> { · 66 unmodified lines
67 HBDBlockErrorFunc error_block_op_;67 HBDBlockErrorFunc error_block_op_;
68 HBDBlockErrorFunc ref_error_block_op_;68 HBDBlockErrorFunc ref_error_block_op_;
69};69};
70GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(BlockErrorTest);
70 71
71TEST_P(BlockErrorTest, OperationCheck) {72TEST_P(BlockErrorTest, OperationCheck) {
72 ACMRandom rnd(ACMRandom::DeterministicSeed());73 ACMRandom rnd(ACMRandom::DeterministicSeed());
test/vp9_denoiser_test.cc+1−0
@@ -51,6 +51,7 @@ class VP9DenoiserTest · 50 unmodified lines
51 protected:51 protected:
52 BLOCK_SIZE bs_;52 BLOCK_SIZE bs_;
53};53};
54GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(VP9DenoiserTest);
54 55
55TEST_P(VP9DenoiserTest, BitexactCheck) {56TEST_P(VP9DenoiserTest, BitexactCheck) {
56 ACMRandom rnd(ACMRandom::DeterministicSeed());57 ACMRandom rnd(ACMRandom::DeterministicSeed());
test/vp9_intrapred_test.cc+2−0
@@ -468,6 +468,8 @@ void IntraPredTest<uint16_t, HighbdIntraPredParam>::Predict() { · 467 unmodified lines
468}468}
469 469
470typedef IntraPredTest<uint16_t, HighbdIntraPredParam> VP9HighbdIntraPredTest;470typedef IntraPredTest<uint16_t, HighbdIntraPredParam> VP9HighbdIntraPredTest;
471GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(VP9HighbdIntraPredTest);
472
471TEST_P(VP9HighbdIntraPredTest, HighbdIntraPredTests) {473TEST_P(VP9HighbdIntraPredTest, HighbdIntraPredTests) {
472 // max block size is 32474 // max block size is 32
473 DECLARE_ALIGNED(16, uint16_t, left_col[2 * 32]);475 DECLARE_ALIGNED(16, uint16_t, left_col[2 * 32]);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t