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

Unified Diff: ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm

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_strings.grdp ('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/settings/clear_browsing_data_collection_view_controller_unittest.mm
diff --git a/ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm b/ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm
index 87724688de40f73e2a7ecbd5716c5cb465a55d8f..75cf9bea67ff090935cdb15fe9c4613760d72c14 100644
--- a/ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm
+++ b/ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_controller_unittest.mm
@@ -247,8 +247,8 @@ TEST_F(ClearBrowsingDataCollectionViewControllerTest,
int cache_size;
NSString* expected_output;
} kTestCases[] = {
- {0, @"less than 1 MB"},
- {(1 << 20) - 1, @"less than 1 MB"},
+ {0, @"Less than 1 MB"},
+ {(1 << 20) - 1, @"Less than 1 MB"},
{(1 << 20), @"1 MB"},
{(1 << 20) + (1 << 19), @"1.5 MB"},
{(1 << 21), @"2 MB"},
@@ -287,12 +287,12 @@ TEST_F(ClearBrowsingDataCollectionViewControllerTest,
int cache_size;
NSString* expected_output;
} kTestCases[] = {
- {0, @"less than 1 MB"},
- {(1 << 20) - 1, @"less than 1 MB"},
- {(1 << 20), @"less than 1 MB"},
- {(1 << 20) + (1 << 19), @"less than 1.5 MB"},
- {(1 << 21), @"less than 2 MB"},
- {(1 << 30), @"less than 1 GB"}
+ {0, @"Less than 1 MB"},
+ {(1 << 20) - 1, @"Less than 1 MB"},
+ {(1 << 20), @"Less than 1 MB"},
+ {(1 << 20) + (1 << 19), @"Less than 1.5 MB"},
+ {(1 << 21), @"Less than 2 MB"},
+ {(1 << 30), @"Less than 1 GB"}
};
// clang-format on
« no previous file with comments | « components/browsing_data_strings.grdp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698