Fix constructor order in unit tests (sanitizer)
The WithParamTest constructor needs to be called first, as the
EncoderTest constructor is called with 'GET_PARAM'.
BUG=aomedia:580
Change-Id: I17f3c02c0a0eec103fb3505301b5eb6dfdef851c
diff --git a/test/error_resilience_test.cc b/test/error_resilience_test.cc
index b1d93a0..e9abdde 100644
--- a/test/error_resilience_test.cc
+++ b/test/error_resilience_test.cc
@@ -21,8 +21,8 @@
const int kMaxDroppableFrames = 12;
class ErrorResilienceTestLarge
- : public ::libaom_test::EncoderTest,
- public ::libaom_test::CodecTestWithParam<libaom_test::TestMode> {
+ : public ::libaom_test::CodecTestWithParam<libaom_test::TestMode>,
+ public ::libaom_test::EncoderTest {
protected:
ErrorResilienceTestLarge()
: EncoderTest(GET_PARAM(0)), psnr_(0.0), nframes_(0), mismatch_psnr_(0.0),