[vts-core] Fix presubmit error in RadioConfigHidlEnvironment am: 942de9e663 am: d5aef05f73

am: 6604e957e5

Change-Id: I41c94cadbe6446e1834a216a722c87defb59d74e
This commit is contained in:
nelsonli 2019-11-20 19:17:54 -08:00 committed by android-build-merger
commit e8cb5a2bcb
3 changed files with 3 additions and 14 deletions

View file

@ -27,6 +27,7 @@
#include <gtest/gtest.h>
#include <hidl/GtestPrinter.h>
#include <hidl/ServiceManagement.h>
#include <log/log.h>
#include "vts_test_util.h"

View file

@ -26,6 +26,7 @@
#include <gtest/gtest.h>
#include <hidl/GtestPrinter.h>
#include <hidl/ServiceManagement.h>
#include <log/log.h>
#include "vts_test_util.h"

View file

@ -28,6 +28,7 @@
#include <gtest/gtest.h>
#include <hidl/GtestPrinter.h>
#include <hidl/ServiceManagement.h>
#include <log/log.h>
#include "vts_test_util.h"
@ -98,20 +99,6 @@ class RadioConfigIndication : public IRadioConfigIndication {
const ::android::hardware::hidl_vec<SimSlotStatus>& slotStatus);
};
// Test environment for Radio HIDL HAL.
class RadioConfigHidlEnvironment : public ::testing::VtsHalHidlTargetTestEnvBase {
public:
// get the test environment singleton
static RadioConfigHidlEnvironment* Instance() {
static RadioConfigHidlEnvironment* instance = new RadioConfigHidlEnvironment;
return instance;
}
virtual void registerTestServices() override { registerTestService<IRadioConfig>(); }
private:
RadioConfigHidlEnvironment() {}
};
// The main test class for Radio config HIDL.
class RadioConfigHidlTest : public ::testing::TestWithParam<std::string> {
protected: