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

Unified Diff: ios/chrome/browser/ui/payments/shipping_option_selection_coordinator_unittest.mm

Issue 2956323002: [Payment Request] Simplifies VC's logic to decide if an item is selectable (Closed)
Patch Set: Addressed comment Created 3 years, 6 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
« no previous file with comments | « ios/chrome/browser/ui/payments/shipping_option_selection_coordinator.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/payments/shipping_option_selection_coordinator_unittest.mm
diff --git a/ios/chrome/browser/ui/payments/shipping_option_selection_coordinator_unittest.mm b/ios/chrome/browser/ui/payments/shipping_option_selection_coordinator_unittest.mm
index 2473b2d8c28deb2243246ef098688850e977fec8..5afbc80d613f7d7637bddf65a85a491cc948b832 100644
--- a/ios/chrome/browser/ui/payments/shipping_option_selection_coordinator_unittest.mm
+++ b/ios/chrome/browser/ui/payments/shipping_option_selection_coordinator_unittest.mm
@@ -106,8 +106,8 @@ TEST_F(PaymentRequestShippingOptionSelectionCoordinatorTest,
PaymentRequestSelectorViewController* view_controller =
base::mac::ObjCCastStrict<PaymentRequestSelectorViewController>(
navigation_controller.visibleViewController);
- [coordinator paymentRequestSelectorViewController:view_controller
- didSelectItemAtIndex:1];
+ EXPECT_TRUE([coordinator paymentRequestSelectorViewController:view_controller
+ didSelectItemAtIndex:1]);
// Wait for the coordinator delegate to be notified.
base::test::ios::SpinRunLoopWithMinDelay(base::TimeDelta::FromSecondsD(0.5));
« no previous file with comments | « ios/chrome/browser/ui/payments/shipping_option_selection_coordinator.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698