diff options
author | Yuexi Ma <yuexima@google.com> | 2017-03-10 00:44:45 -0800 |
---|---|---|
committer | Yuexi Ma <yuexima@google.com> | 2017-03-10 21:14:48 +0000 |
commit | ed2bb4e8f851688c09f7639a9183b1285aa0967c (patch) | |
tree | 35d3b55697123e0b07ad556dc988899ae706fd41 /gatekeeper/1.0 | |
parent | 5e1e202bcc25d66890864ac8b73533945ba14d78 (diff) | |
download | platform_hardware_interfaces-ed2bb4e8f851688c09f7639a9183b1285aa0967c.tar.gz platform_hardware_interfaces-ed2bb4e8f851688c09f7639a9183b1285aa0967c.tar.bz2 platform_hardware_interfaces-ed2bb4e8f851688c09f7639a9183b1285aa0967c.zip |
Change vts target base test class name
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I95f10ad7a66f261c9030357edd411fe6d94150e8
Diffstat (limited to 'gatekeeper/1.0')
-rw-r--r-- | gatekeeper/1.0/vts/functional/Android.bp | 2 | ||||
-rw-r--r-- | gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gatekeeper/1.0/vts/functional/Android.bp b/gatekeeper/1.0/vts/functional/Android.bp index 5ece33688b..70cb615835 100644 --- a/gatekeeper/1.0/vts/functional/Android.bp +++ b/gatekeeper/1.0/vts/functional/Android.bp @@ -28,7 +28,7 @@ cc_test { "libutils", "android.hardware.gatekeeper@1.0", ], - static_libs: ["VtsHalHidlTargetBaseTest"], + static_libs: ["VtsHalHidlTargetTestBase"], cflags: [ "-O0", "-g", diff --git a/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp b/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp index 8d6f72633b..391dea0352 100644 --- a/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp +++ b/gatekeeper/1.0/vts/functional/VtsHalGatekeeperV1_0TargetTest.cpp @@ -30,7 +30,7 @@ #include <android/hardware/gatekeeper/1.0/IGatekeeper.h> #include <android/hardware/gatekeeper/1.0/types.h> -#include <VtsHalHidlTargetBaseTest.h> +#include <VtsHalHidlTargetTestBase.h> using ::android::hardware::hidl_string; using ::android::hardware::hidl_vec; @@ -76,7 +76,7 @@ static const hw_auth_token_t *toAuthToken(GatekeeperResponse &rsp) { } // The main test class for Gatekeeper HIDL HAL. -class GatekeeperHidlTest : public ::testing::VtsHalHidlTargetBaseTest { +class GatekeeperHidlTest : public ::testing::VtsHalHidlTargetTestBase { protected: void setUid(uint32_t uid) { uid_ = uid; } @@ -187,7 +187,7 @@ class GatekeeperHidlTest : public ::testing::VtsHalHidlTargetBaseTest { GatekeeperHidlTest() : uid_(0) {} virtual void SetUp() override { GatekeeperResponse rsp; - gatekeeper_ = ::testing::VtsHalHidlTargetBaseTest::getService<IGatekeeper>(); + gatekeeper_ = ::testing::VtsHalHidlTargetTestBase::getService<IGatekeeper>(); ASSERT_NE(nullptr, gatekeeper_.get()); doDeleteAllUsers(rsp); } |