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

Unified Diff: ios/chrome/browser/ui/activity_services/activity_service_controller_unittest.mm

Issue 2710923002: Rename UIActivityFindLoginActionSource to UIActivityURLSource. (Closed)
Patch Set: Created 3 years, 10 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: ios/chrome/browser/ui/activity_services/activity_service_controller_unittest.mm
diff --git a/ios/chrome/browser/ui/activity_services/activity_service_controller_unittest.mm b/ios/chrome/browser/ui/activity_services/activity_service_controller_unittest.mm
index 676bb0e6940452bd8f4f1fe171255717dab2d314..48a6e633d0d4ca05e5f392228069a6416ab905eb 100644
--- a/ios/chrome/browser/ui/activity_services/activity_service_controller_unittest.mm
+++ b/ios/chrome/browser/ui/activity_services/activity_service_controller_unittest.mm
@@ -307,10 +307,9 @@ TEST_F(ActivityServiceControllerTest, ActivityItemsForDataWithPasswordAppEx) {
EXPECT_NSEQ(@"https://chromium.org/login.html", appExUrlString);
// Checks that the list includes the page's title.
- NSArray* sources =
- FindItemsOfClass(items, [UIActivityFindLoginActionSource class]);
+ NSArray* sources = FindItemsOfClass(items, [UIActivityURLSource class]);
EXPECT_EQ(1U, [sources count]);
- UIActivityFindLoginActionSource* actionSource = sources[0];
+ UIActivityURLSource* actionSource = sources[0];
id mockActivityViewController =
[OCMockObject niceMockForClass:[UIActivityViewController class]];
NSString* title = [actionSource

Powered by Google App Engine
This is Rietveld 408576698