summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuexi Ma2017-03-10 02:44:45 -0600
committerYuexi Ma2017-03-10 15:14:48 -0600
commited2bb4e8f851688c09f7639a9183b1285aa0967c (patch)
tree35d3b55697123e0b07ad556dc988899ae706fd41 /boot/1.0/vts
parent5e1e202bcc25d66890864ac8b73533945ba14d78 (diff)
downloadplatform-hardware-interfaces-ed2bb4e8f851688c09f7639a9183b1285aa0967c.tar.gz
platform-hardware-interfaces-ed2bb4e8f851688c09f7639a9183b1285aa0967c.tar.xz
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 'boot/1.0/vts')
-rw-r--r--boot/1.0/vts/functional/Android.bp2
-rw-r--r--boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/boot/1.0/vts/functional/Android.bp b/boot/1.0/vts/functional/Android.bp
index e77eb5c1..5b14f54d 100644
--- a/boot/1.0/vts/functional/Android.bp
+++ b/boot/1.0/vts/functional/Android.bp
@@ -27,7 +27,7 @@ cc_test {
27 "libutils", 27 "libutils",
28 "android.hardware.boot@1.0", 28 "android.hardware.boot@1.0",
29 ], 29 ],
30 static_libs: ["VtsHalHidlTargetBaseTest"], 30 static_libs: ["VtsHalHidlTargetTestBase"],
31 cflags: [ 31 cflags: [
32 "-O0", 32 "-O0",
33 "-g", 33 "-g",
diff --git a/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp b/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp
index 49eefb12..9789ee6b 100644
--- a/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp
+++ b/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp
@@ -21,7 +21,7 @@
21 21
22#include <android/hardware/boot/1.0/IBootControl.h> 22#include <android/hardware/boot/1.0/IBootControl.h>
23 23
24#include <VtsHalHidlTargetBaseTest.h> 24#include <VtsHalHidlTargetTestBase.h>
25 25
26using ::android::hardware::boot::V1_0::IBootControl; 26using ::android::hardware::boot::V1_0::IBootControl;
27using ::android::hardware::boot::V1_0::CommandResult; 27using ::android::hardware::boot::V1_0::CommandResult;
@@ -32,10 +32,10 @@ using ::android::hardware::Return;
32using ::android::sp; 32using ::android::sp;
33 33
34// The main test class for the Boot HIDL HAL. 34// The main test class for the Boot HIDL HAL.
35class BootHidlTest : public ::testing::VtsHalHidlTargetBaseTest { 35class BootHidlTest : public ::testing::VtsHalHidlTargetTestBase {
36 public: 36 public:
37 virtual void SetUp() override { 37 virtual void SetUp() override {
38 boot = ::testing::VtsHalHidlTargetBaseTest::getService<IBootControl>(); 38 boot = ::testing::VtsHalHidlTargetTestBase::getService<IBootControl>();
39 ASSERT_NE(boot, nullptr); 39 ASSERT_NE(boot, nullptr);
40 } 40 }
41 41