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

Unified Diff: components/password_manager/core/browser/password_ui_utils_unittest.cc

Issue 1627193003: [Smart Lock, UI] Display origin in account chooser dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/password_manager/core/browser/password_ui_utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_ui_utils_unittest.cc
diff --git a/components/password_manager/core/browser/password_ui_utils_unittest.cc b/components/password_manager/core/browser/password_ui_utils_unittest.cc
index c5a66d8e7393919e280942e62edeb0a8b1b2296f..c757000abc6c566a195e10e095deacdfdd8b1c98 100644
--- a/components/password_manager/core/browser/password_ui_utils_unittest.cc
+++ b/components/password_manager/core/browser/password_ui_utils_unittest.cc
@@ -38,6 +38,7 @@ TEST(GetShownOriginTest, RemovePrefixes) {
GetShownOrigin(password_form, "", &is_android_uri))
<< "for input " << test_case.input;
EXPECT_FALSE(is_android_uri) << "for input " << test_case.input;
+ EXPECT_EQ(test_case.output, GetShownOrigin(password_form.origin, ""));
}
}
« no previous file with comments | « components/password_manager/core/browser/password_ui_utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698