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

Unified Diff: ios/chrome/browser/ui/history/history_entry_inserter_unittest.mm

Issue 2747713002: Reenable HistoryEntryInserterTest.AddSections. (Closed)
Patch Set: Move to midday to avoid daylight savings time shifts. Created 3 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/history/history_entry_inserter_unittest.mm
diff --git a/ios/chrome/browser/ui/history/history_entry_inserter_unittest.mm b/ios/chrome/browser/ui/history/history_entry_inserter_unittest.mm
index 80ab2e779845a461195a33f5ddee76ba512ee324..35c49a82d1438e811c8234a1771bcd0f8c971b37 100644
--- a/ios/chrome/browser/ui/history/history_entry_inserter_unittest.mm
+++ b/ios/chrome/browser/ui/history/history_entry_inserter_unittest.mm
@@ -94,10 +94,9 @@ TEST_F(HistoryEntryInserterTest, AddItems) {
// Tests that items from different dates are added in correctly ordered
// sections.
-// TODO(crbug.com/700814): Reneable it.
-TEST_F(HistoryEntryInserterTest, DISABLED_AddSections) {
+TEST_F(HistoryEntryInserterTest, AddSections) {
base::Time today =
- base::Time::Now().LocalMidnight() + base::TimeDelta::FromHours(1);
+ base::Time::Now().LocalMidnight() + base::TimeDelta::FromHours(12);
base::TimeDelta day = base::TimeDelta::FromDays(1);
base::TimeDelta minute = base::TimeDelta::FromMinutes(1);
HistoryEntryItem* day1 = TestHistoryEntryItem(today, "day1");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698