Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: source/libvpx/test/intrapred_test.cc

Issue 232133009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/libvpx/test/external_frame_buffer_test.cc ('k') | source/libvpx/test/keyframe_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/test/intrapred_test.cc
===================================================================
--- source/libvpx/test/intrapred_test.cc (revision 263011)
+++ source/libvpx/test/intrapred_test.cc (working copy)
@@ -26,12 +26,8 @@
class IntraPredBase {
public:
- virtual ~IntraPredBase() {}
+ virtual ~IntraPredBase() { libvpx_test::ClearSystemState(); }
- virtual void TearDown() {
- libvpx_test::ClearSystemState();
- }
-
protected:
void SetupMacroblock(MACROBLOCKD *mbptr,
MODE_INFO *miptr,
@@ -227,8 +223,9 @@
uint8_t *ypred_ptr,
int y_stride);
-class IntraPredYTest : public ::testing::TestWithParam<intra_pred_y_fn_t>,
- protected IntraPredBase {
+class IntraPredYTest
+ : public IntraPredBase,
+ public ::testing::TestWithParam<intra_pred_y_fn_t> {
public:
static void SetUpTestCase() {
mb_ = reinterpret_cast<MACROBLOCKD*>(
@@ -308,8 +305,9 @@
uint8_t *vpred_ptr,
int pred_stride);
-class IntraPredUVTest : public ::testing::TestWithParam<intra_pred_uv_fn_t>,
- protected IntraPredBase {
+class IntraPredUVTest
+ : public IntraPredBase,
+ public ::testing::TestWithParam<intra_pred_uv_fn_t> {
public:
static void SetUpTestCase() {
mb_ = reinterpret_cast<MACROBLOCKD*>(
« no previous file with comments | « source/libvpx/test/external_frame_buffer_test.cc ('k') | source/libvpx/test/keyframe_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698