Lines Matching refs:Error
175 void ExpectCleanup(const Error& expected_result) {
214 void StopAndCheckShim(const Error& error) {
215 ExpectCleanup(error);
216 crypto_util_proxy_.CleanupShim(error);
249 Error error;
258 &error));
259 EXPECT_TRUE(error.IsSuccess());
274 Error error;
280 result_callback, &error));
281 EXPECT_TRUE(error.IsSuccess());
292 Error e(Error::kOperationFailed);
296 StrEq(""), ErrorIsOfType(Error::kOperationFailed)))
307 StrEq(""), ErrorIsOfType(Error::kSuccess)))
311 ExpectCleanup(Error(Error::kSuccess));
326 StrEq(""), ErrorIsOfType(Error::kOperationFailed))).Times(1);
327 Error e(Error::kOperationFailed);
336 StrEq(""), ErrorIsOfType(Error::kOperationTimeout))).Times(1);
337 ExpectCleanup(Error(Error::kOperationTimeout));
351 // But if some error (or completion) caused us to clean up the shim...
352 StopAndCheckShim(Error(Error::kSuccess));
357 StopAndCheckShim(Error(Error::kOperationFailed));
403 ErrorIsOfType(Error::kSuccess))).Times(1);
404 ExpectCleanup(Error(Error::kSuccess));