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

Unified Diff: components/browsing_data/core/browsing_data_utils_unittest.cc

Issue 2910983002: Improve and fix counter texts (Closed)
Patch Set: fix ios failures, add random change to browsing_data_utils.h to trigger all tests Created 3 years, 7 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/browsing_data/core/browsing_data_utils.h ('k') | components/browsing_data_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browsing_data/core/browsing_data_utils_unittest.cc
diff --git a/components/browsing_data/core/browsing_data_utils_unittest.cc b/components/browsing_data/core/browsing_data_utils_unittest.cc
index a39dbbd7fcfd786ac93d1345c92524d997e545c8..12a870ed8df9e2e2db3324014eb153af7b8c6fdb 100644
--- a/components/browsing_data/core/browsing_data_utils_unittest.cc
+++ b/components/browsing_data/core/browsing_data_utils_unittest.cc
@@ -63,8 +63,8 @@ TEST_F(BrowsingDataUtilsTest, AutofillCounterResult) {
bool sync_enabled;
std::string expected_output;
} kTestCases[] = {
- {0, 0, 0, false, "none"},
- {0, 0, 0, true, "none"},
+ {0, 0, 0, false, "None"},
+ {0, 0, 0, true, "None"},
{1, 0, 0, false, "1 credit card"},
{0, 5, 0, false, "5 addresses"},
{0, 0, 1, false, "1 suggestion"},
@@ -107,7 +107,7 @@ TEST_F(BrowsingDataUtilsTest, PasswordsCounterResult) {
int is_synced;
std::string expected_output;
} kTestCases[] = {
- {0, false, "none"}, {0, true, "none"},
+ {0, false, "None"}, {0, true, "None"},
{1, false, "1 password"}, {1, true, "1 password (synced)"},
{5, false, "5 passwords"}, {5, true, "5 passwords (synced)"},
};
« no previous file with comments | « components/browsing_data/core/browsing_data_utils.h ('k') | components/browsing_data_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698