summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2018-05-03 13:48:03 -0700
committerYifan Hong <elsk@google.com>2018-05-03 15:43:13 -0700
commitcb64fd2c284dc9a7ef95d8936736d93930b0fb1e (patch)
tree65ac7096c02e81a727d46a8246a764b3e963dfff
parent93b097554bba10bfb804c5c91e0f22b3e8ef2eb7 (diff)
downloadplatform_test_vts-testcase_hal-cb64fd2c284dc9a7ef95d8936736d93930b0fb1e.tar.gz
platform_test_vts-testcase_hal-cb64fd2c284dc9a7ef95d8936736d93930b0fb1e.tar.bz2
platform_test_vts-testcase_hal-cb64fd2c284dc9a7ef95d8936736d93930b0fb1e.zip
VtsTrebleVintfTest: Remove HalEntriesAreComplete
The test is obsolete: - It is testing implementation detail of how manifests work - It is using deprecated and private APIs of libvintf Test: builds Bug: 74247301 Bug: 79158975 Change-Id: Ife1e778a45e9a04212324df0e50f09302938dd8e Merged-In: Ife1e778a45e9a04212324df0e50f09302938dd8e
-rw-r--r--treble/vintf/vts_treble_vintf_test.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/treble/vintf/vts_treble_vintf_test.cpp b/treble/vintf/vts_treble_vintf_test.cpp
index c09176c8..15b63d10 100644
--- a/treble/vintf/vts_treble_vintf_test.cpp
+++ b/treble/vintf/vts_treble_vintf_test.cpp
@@ -193,24 +193,6 @@ sp<android::hidl::base::V1_0::IBase> VtsTrebleVintfTest::GetHalService(
return hal_service;
}
-// Tests that all HAL entries in VINTF has all required fields filled out.
-TEST_F(VtsTrebleVintfTest, HalEntriesAreComplete) {
- auto hal_names = vendor_manifest_->getHalNames();
- for (const auto &hal_name : hal_names) {
- auto versions = vendor_manifest_->getSupportedVersions(hal_name);
- EXPECT_FALSE(versions.empty())
- << hal_name << " has no version specified in VINTF.";
- auto iface_names = vendor_manifest_->getInterfaceNames(hal_name);
- EXPECT_FALSE(iface_names.empty())
- << hal_name << " has no interface specified in VINTF.";
- for (const auto &iface_name : iface_names) {
- auto instances = vendor_manifest_->getInstances(hal_name, iface_name);
- EXPECT_FALSE(instances.empty())
- << hal_name << " has no instance specified in VINTF.";
- }
- }
-}
-
// Tests that no HAL outside of the allowed set is specified as passthrough in
// VINTF.
TEST_F(VtsTrebleVintfTest, HalsAreBinderized) {