Change-Id: Ib5f8255c54d876f641fe1af1a953014f6748cc42
if (err != 0) {
errcode = wl_display_get_protocol_error(this->display, &interface,
NULL);
+ FAIL() << "Expected no error, but got error(" << err << ") interface("
+ << interface->name << ") errcode(" << errcode << ")";
}
-
- ASSERT_EQ(err, 0)
- << "Expected no error, but got error(" << err << ") interface("
- << interface->name << ") errcode(" << errcode << ")";
-
}
void MockClient::ExpectProtocolError(const struct wl_interface *intf,