Make the codes consistent with conventions.
Change-Id: Id044ed8382f83a3c3f54f9edd569f00bcd0523db
class FwdTrans4x4Test : public ::testing::TestWithParam<int> {
public:
- FwdTrans4x4Test() { SetUpTestTxfm(); }
- ~FwdTrans4x4Test() {}
-
- void SetUpTestTxfm() {
+ virtual ~FwdTrans4x4Test() {}
+ virtual void SetUp() {
tx_type_ = GetParam();
if (tx_type_ == 0) {
fwd_txfm_ = fdct4x4;
class FwdTrans8x8Test : public ::testing::TestWithParam<int> {
public:
- FwdTrans8x8Test() { SetUpTestTxfm(); }
- ~FwdTrans8x8Test() {}
-
- void SetUpTestTxfm() {
+ virtual ~FwdTrans8x8Test() {}
+ virtual void SetUp() {
tx_type_ = GetParam();
if (tx_type_ == 0) {
fwd_txfm = fdct8x8;