Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppCanMakePaymentQueryTest.java

Issue 2807023002: PaymentRequest: Use "NotAllowedError" instead of "QuotaExceededError". (Closed)
Patch Set: PaymentRequest: Use "NotAllowedError" instead of "QuotaExceededError". Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppCanMakePaymentQueryTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppCanMakePaymentQueryTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppCanMakePaymentQueryTest.java
index fd3b250288e33b9b27a5475b8ee7f6d2e0f5acec..92ce4bea35ebf35a9224c77f705f26e246303b77 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppCanMakePaymentQueryTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/payments/PaymentRequestPaymentAppCanMakePaymentQueryTest.java
@@ -31,7 +31,7 @@ public class PaymentRequestPaymentAppCanMakePaymentQueryTest extends PaymentRequ
expectResultContains(new String[] {"false, false"});
clickNodeAndWait("otherBuy", mCanMakePaymentQueryResponded);
- expectResultContains(new String[] {"false, QuotaExceededError"});
+ expectResultContains(new String[] {"false, NotAllowedError"});
}
@MediumTest
@@ -44,7 +44,7 @@ public class PaymentRequestPaymentAppCanMakePaymentQueryTest extends PaymentRequ
installPaymentApp(HAVE_INSTRUMENTS, IMMEDIATE_RESPONSE);
clickNodeAndWait("otherBuy", mCanMakePaymentQueryResponded);
- expectResultContains(new String[] {"true, QuotaExceededError"});
+ expectResultContains(new String[] {"true, NotAllowedError"});
}
@MediumTest
@@ -56,7 +56,7 @@ public class PaymentRequestPaymentAppCanMakePaymentQueryTest extends PaymentRequ
expectResultContains(new String[] {"false, false"});
clickNodeAndWait("otherBuy", mCanMakePaymentQueryResponded);
- expectResultContains(new String[] {"false, QuotaExceededError"});
+ expectResultContains(new String[] {"false, NotAllowedError"});
}
@MediumTest
@@ -68,7 +68,7 @@ public class PaymentRequestPaymentAppCanMakePaymentQueryTest extends PaymentRequ
expectResultContains(new String[] {"false, false"});
clickNodeAndWait("otherBuy", mCanMakePaymentQueryResponded);
- expectResultContains(new String[] {"false, QuotaExceededError"});
+ expectResultContains(new String[] {"false, NotAllowedError"});
}
@MediumTest
@@ -80,7 +80,7 @@ public class PaymentRequestPaymentAppCanMakePaymentQueryTest extends PaymentRequ
expectResultContains(new String[] {"true, true"});
clickNodeAndWait("otherBuy", mCanMakePaymentQueryResponded);
- expectResultContains(new String[] {"true, QuotaExceededError"});
+ expectResultContains(new String[] {"true, NotAllowedError"});
}
@MediumTest
@@ -92,6 +92,6 @@ public class PaymentRequestPaymentAppCanMakePaymentQueryTest extends PaymentRequ
expectResultContains(new String[] {"true, true"});
clickNodeAndWait("otherBuy", mCanMakePaymentQueryResponded);
- expectResultContains(new String[] {"true, QuotaExceededError"});
+ expectResultContains(new String[] {"true, NotAllowedError"});
}
}

Powered by Google App Engine
This is Rietveld 408576698