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

am: d5aef05f73

Change-Id: I1407dd96fcf49074f13b5784b41d6f7d443ccaed
This commit is contained in:
nelsonli 2019-11-20 19:14:24 -08:00 committed by android-build-merger
commit 6604e957e5
3 changed files with 3 additions and 14 deletions

View file

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

View file

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

View file

@ -28,6 +28,7 @@
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include <hidl/GtestPrinter.h> #include <hidl/GtestPrinter.h>
#include <hidl/ServiceManagement.h> #include <hidl/ServiceManagement.h>
#include <log/log.h>
#include "vts_test_util.h" #include "vts_test_util.h"
@ -98,20 +99,6 @@ class RadioConfigIndication : public IRadioConfigIndication {
const ::android::hardware::hidl_vec<SimSlotStatus>& slotStatus); 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. // The main test class for Radio config HIDL.
class RadioConfigHidlTest : public ::testing::TestWithParam<std::string> { class RadioConfigHidlTest : public ::testing::TestWithParam<std::string> {
protected: protected: