diff options
6 files changed, 2 insertions, 27 deletions
diff --git a/radio/1.0/vts/functional/VtsHalRadioV1_0TargetTest.cpp b/radio/1.0/vts/functional/VtsHalRadioV1_0TargetTest.cpp index 3448494ffd..a3eb54cf18 100644 --- a/radio/1.0/vts/functional/VtsHalRadioV1_0TargetTest.cpp +++ b/radio/1.0/vts/functional/VtsHalRadioV1_0TargetTest.cpp @@ -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 diff --git a/radio/1.0/vts/functional/VtsHalSapV1_0TargetTest.cpp b/radio/1.0/vts/functional/VtsHalSapV1_0TargetTest.cpp index 5e5c50c7ad..84b67c9453 100644 --- a/radio/1.0/vts/functional/VtsHalSapV1_0TargetTest.cpp +++ b/radio/1.0/vts/functional/VtsHalSapV1_0TargetTest.cpp @@ -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 diff --git a/radio/1.0/vts/functional/radio_hidl_hal_utils_v1_0.h b/radio/1.0/vts/functional/radio_hidl_hal_utils_v1_0.h index b0d67dad94..b60887c74b 100644 --- a/radio/1.0/vts/functional/radio_hidl_hal_utils_v1_0.h +++ b/radio/1.0/vts/functional/radio_hidl_hal_utils_v1_0.h @@ -538,11 +538,4 @@ class RadioHidlTest : public ::testing::VtsHalHidlTargetTestBase { sp<IRadio> radio; sp<RadioResponse> radioRsp; sp<RadioIndication> radioInd; -}; - -// A class for test environment setup -class RadioHidlEnvironment : public ::testing::Environment { - public: - virtual void SetUp() {} - virtual void TearDown() {} };
\ No newline at end of file diff --git a/radio/1.0/vts/functional/sap_hidl_hal_utils.h b/radio/1.0/vts/functional/sap_hidl_hal_utils.h index 7126b06e03..fb142b796f 100644 --- a/radio/1.0/vts/functional/sap_hidl_hal_utils.h +++ b/radio/1.0/vts/functional/sap_hidl_hal_utils.h @@ -102,11 +102,4 @@ 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() {} -}; +};
\ No newline at end of file diff --git a/radio/1.1/vts/functional/VtsHalRadioV1_1TargetTest.cpp b/radio/1.1/vts/functional/VtsHalRadioV1_1TargetTest.cpp index 09351c850a..107a9e0d4c 100644 --- a/radio/1.1/vts/functional/VtsHalRadioV1_1TargetTest.cpp +++ b/radio/1.1/vts/functional/VtsHalRadioV1_1TargetTest.cpp @@ -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(); diff --git a/radio/1.1/vts/functional/radio_hidl_hal_utils_v1_1.h b/radio/1.1/vts/functional/radio_hidl_hal_utils_v1_1.h index c797e352bd..3e31459169 100644 --- a/radio/1.1/vts/functional/radio_hidl_hal_utils_v1_1.h +++ b/radio/1.1/vts/functional/radio_hidl_hal_utils_v1_1.h @@ -561,11 +561,4 @@ class RadioHidlTest_v1_1 : public ::testing::VtsHalHidlTargetTestBase { sp<::android::hardware::radio::V1_1::IRadio> radio_v1_1; 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() {} -}; +};
\ No newline at end of file |