The GetClientTargetBufferQueueFailNoHwc test is executed when there is
no hwc on a output.
Change-Id: I8409dffce126f5398abb447c0d4e8c06a84ce431
for (int o = 0; o < output_count; o++) {
hwc = tdm_output_get_hwc(outputs[o], &error);
- if (hwc) {
+ if (!hwc) {
queue = tdm_hwc_get_client_target_buffer_queue(hwc, &error);
EXPECT_NE(TDM_ERROR_NONE, error);
EXPECT_EQ(NULL, queue);
} else {
- queue = tdm_hwc_get_client_target_buffer_queue(hwc, &error);
- EXPECT_NE(TDM_ERROR_NONE, error);
- EXPECT_EQ(NULL, queue);
+ EXPECT_TRUE(true);
}
}
}