summaryrefslogtreecommitdiffstats
path: root/automotive
diff options
context:
space:
mode:
authorScott Randolph <randolphs@google.com>2017-06-23 14:34:49 -0700
committerScott Randolph <randolphs@google.com>2017-06-29 18:59:40 -0700
commit968b355572226a3d1e4696e4d8611f7cd4989de9 (patch)
tree442b75bdf9dcb0d06553d9fdd1f7d63765291dd6 /automotive
parenteafb6c3685db4301cef44b1198f8c2e349672779 (diff)
downloadplatform_hardware_interfaces-968b355572226a3d1e4696e4d8611f7cd4989de9.tar.gz
platform_hardware_interfaces-968b355572226a3d1e4696e4d8611f7cd4989de9.tar.bz2
platform_hardware_interfaces-968b355572226a3d1e4696e4d8611f7cd4989de9.zip
Update service name targeted by VTS test
Use the standard driver rather than the "mock" driver for testing. Test: Run the test. Change-Id: I706eabaf33f6879a22359250ce02daaf4a7fe15f
Diffstat (limited to 'automotive')
-rw-r--r--automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp b/automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp
index 2e80afe8fe..57050d7516 100644
--- a/automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp
+++ b/automotive/evs/1.0/vts/functional/VtsEvsV1_0TargetTest.cpp
@@ -17,8 +17,13 @@
#define LOG_TAG "VtsHalEvsTest"
-// TODO: How should we configure these values to target appropriate hardware?
-const static char kEnumeratorName[] = "EvsEnumeratorHw-Mock";
+// Note: We have't got a great way to indicate which target
+// should be tested, so we'll leave the interface served by the
+// default (mock) EVS driver here for easy reference. All
+// actual EVS drivers should serve on the EvsEnumeratorHw name,
+// however, so the code is checked in that way.
+//const static char kEnumeratorName[] = "EvsEnumeratorHw-Mock";
+const static char kEnumeratorName[] = "EvsEnumeratorHw";
// These values are called out in the EVS design doc (as of Mar 8, 2017)
@@ -474,4 +479,4 @@ TEST_F(EvsHidlTest, CameraToDisplayRoundTrip) {
// Explicitly release the display
pEnumerator->closeDisplay(pDisplay);
-} \ No newline at end of file
+}