Merge "Fix consumerir test bugs" into oc-dev
am: 9f0b8369e9
Change-Id: I6e28e41595743e614a4f10f6e014673edc4c4bad
This commit is contained in:
commit
601ae82ebc
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue