Merge "Fix consumerir test bugs" into oc-dev

am: 9f0b8369e9

Change-Id: I6e28e41595743e614a4f10f6e014673edc4c4bad
This commit is contained in:
Connor O'Brien 2017-06-29 02:15:16 +00:00 committed by android-build-merger
commit 601ae82ebc

View file

@ -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) {