Refactor radio folder for 1.0 and 1.1

am: 8735a7d935

Change-Id: I1aefd73cd8a6b9937605e308c016b8e2dc4dff39
This commit is contained in:
sqian 2017-10-15 01:43:15 +00:00 committed by android-build-merger
commit 2576f3505f
6 changed files with 2 additions and 27 deletions

View file

@ -17,7 +17,6 @@
#include <radio_hidl_hal_utils_v1_0.h>
int main(int argc, char** argv) {
::testing::AddGlobalTestEnvironment(new RadioHidlEnvironment);
::testing::InitGoogleTest(&argc, argv);
// setup seed for rand function

View file

@ -17,8 +17,6 @@
#include <sap_hidl_hal_utils.h>
int main(int argc, char** argv) {
// Add Sim-access Profile Hidl Environment
::testing::AddGlobalTestEnvironment(new SapHidlEnvironment);
::testing::InitGoogleTest(&argc, argv);
// setup seed for rand function

View file

@ -539,10 +539,3 @@ class RadioHidlTest : public ::testing::VtsHalHidlTargetTestBase {
sp<RadioResponse> radioRsp;
sp<RadioIndication> radioInd;
};
// A class for test environment setup
class RadioHidlEnvironment : public ::testing::Environment {
public:
virtual void SetUp() {}
virtual void TearDown() {}
};

View file

@ -103,10 +103,3 @@ class SapHidlTest : public ::testing::VtsHalHidlTargetTestBase {
/* Sap Callback object */
sp<SapCallback> sapCb;
};
// A class for test environment setup
class SapHidlEnvironment : public ::testing::Environment {
public:
virtual void SetUp() {}
virtual void TearDown() {}
};

View file

@ -17,7 +17,6 @@
#include <radio_hidl_hal_utils_v1_1.h>
int main(int argc, char** argv) {
::testing::AddGlobalTestEnvironment(new RadioHidlEnvironment);
::testing::InitGoogleTest(&argc, argv);
int status = RUN_ALL_TESTS();

View file

@ -562,10 +562,3 @@ class RadioHidlTest_v1_1 : public ::testing::VtsHalHidlTargetTestBase {
sp<RadioResponse_v1_1> radioRsp_v1_1;
sp<RadioIndication_v1_1> radioInd_v1_1;
};
// A class for test environment setup
class RadioHidlEnvironment : public ::testing::Environment {
public:
virtual void SetUp() {}
virtual void TearDown() {}
};