summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-06-30 04:10:58 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-06-30 04:10:58 +0000
commit92fc53371e9160bcc09eb1af4fe71c4309f5ed91 (patch)
tree59db4e6005ba50b75061c20e1f54364d116e724d
parent0a8624da22ecbfd2ad616fe9e765c0d22cd659ad (diff)
parentc2c3c86bf94328ab5918ebac42f7108fd276bacf (diff)
downloadplatform_hardware_interfaces-oreo-r3-release.tar.gz
platform_hardware_interfaces-oreo-r3-release.tar.bz2
platform_hardware_interfaces-oreo-r3-release.zip
Change-Id: Idc9d585087ef9f3e3e433745c93a791e69540d3e
-rw-r--r--ir/1.0/vts/functional/VtsHalIrV1_0TargetTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/1.0/vts/functional/VtsHalIrV1_0TargetTest.cpp b/ir/1.0/vts/functional/VtsHalIrV1_0TargetTest.cpp
index 3dad3c10b8..a01740462c 100644
--- a/ir/1.0/vts/functional/VtsHalIrV1_0TargetTest.cpp
+++ b/ir/1.0/vts/functional/VtsHalIrV1_0TargetTest.cpp
@@ -59,7 +59,7 @@ TEST_F(ConsumerIrHidlTest, TransmitTest) {
uint32_t len = 16;
hidl_vec<int32_t> vec;
vec.resize(len);
- std::fill(vec.begin(), vec.end(), 1);
+ std::fill(vec.begin(), vec.end(), 1000);
for (auto range = ranges.begin(); range != ranges.end(); range++) {
EXPECT_TRUE(ir->transmit(range->min, vec));
EXPECT_TRUE(ir->transmit(range->max, vec));
@@ -74,7 +74,6 @@ TEST_F(ConsumerIrHidlTest, BadFreqTest) {
vec.resize(len);
std::fill(vec.begin(), vec.end(), 1);
EXPECT_FALSE(ir->transmit(-1, vec));
- EXPECT_FALSE(ir->transmit(0, vec));
}
int main(int argc, char **argv) {