mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
[vts-core] Fix presubmit error in RadioConfigHidlEnvironment
Remove the un-included class. Also add missing include of log library. Test: $atest VtsHalRadioConfigV1_2TargetTest Change-Id: Ia7475f6fa2df9c35a4822a6434a783d775f3f9be
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user