Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8cb5a2b authored by nelsonli's avatar nelsonli Committed by android-build-merger
Browse files

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

am: 6604e957

Change-Id: I41c94cadbe6446e1834a216a722c87defb59d74e
parents 43286a88 6604e957
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"

+1 −0
Original line number Diff line number Diff line
@@ -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"

+1 −14
Original line number Diff line number Diff line
@@ -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: