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

Side by Side Diff: ios/chrome/browser/payments/shipping_address_selection_coordinator_unittest.mm

Issue 2621453002: Selected shipping option in payment summary view + shipping option selection view (Closed)
Patch Set: Addressed comments by lpromero@ and jdonnelley@ Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/test/ios/wait_util.h" 5 #include "base/test/ios/wait_util.h"
6 #import "ios/chrome/browser/payments/shipping_address_selection_coordinator.h" 6 #import "ios/chrome/browser/payments/shipping_address_selection_coordinator.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 namespace { 9 namespace {
10 10
(...skipping 18 matching lines...) Expand all
29 base::TimeDelta::FromSecondsD(1.0)); 29 base::TimeDelta::FromSecondsD(1.0));
30 EXPECT_EQ(2u, [navigation_controller.viewControllers count]); 30 EXPECT_EQ(2u, [navigation_controller.viewControllers count]);
31 31
32 [coordinator stop]; 32 [coordinator stop];
33 // Short delay to allow animation to complete. 33 // Short delay to allow animation to complete.
34 base::test::ios::SpinRunLoopWithMaxDelay( 34 base::test::ios::SpinRunLoopWithMaxDelay(
35 base::TimeDelta::FromSecondsD(1.0)); 35 base::TimeDelta::FromSecondsD(1.0));
36 EXPECT_EQ(1u, [navigation_controller.viewControllers count]); 36 EXPECT_EQ(1u, [navigation_controller.viewControllers count]);
37 } 37 }
38 } 38 }
39 } 39
40 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698