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

Unified Diff: chrome/browser/sync/engine/syncer_unittest.cc

Issue 7042028: Detect & destroy dead conflictresolver paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « chrome/browser/sync/engine/syncer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncer_unittest.cc
diff --git a/chrome/browser/sync/engine/syncer_unittest.cc b/chrome/browser/sync/engine/syncer_unittest.cc
index 704e5cef787002aa8c99b6f601ef28e360147c14..2c0e5dc385086d14db5a845e4abb6feb4fbdea94 100644
--- a/chrome/browser/sync/engine/syncer_unittest.cc
+++ b/chrome/browser/sync/engine/syncer_unittest.cc
@@ -3728,24 +3728,6 @@ TEST_F(SyncerTest, TestMoveSanitizedNamedFolder) {
SyncShareAsDelegate();
}
-TEST(SortedCollectionsIntersect, SortedCollectionsIntersectTest) {
- int negative[] = {-3, -2, -1};
- int straddle[] = {-1, 0, 1};
- int positive[] = {1, 2, 3};
- EXPECT_TRUE(SortedCollectionsIntersect(negative, negative + 3,
- straddle, straddle + 3));
- EXPECT_FALSE(SortedCollectionsIntersect(negative, negative + 3,
- positive, positive + 3));
- EXPECT_TRUE(SortedCollectionsIntersect(straddle, straddle + 3,
- positive, positive + 3));
- EXPECT_FALSE(SortedCollectionsIntersect(straddle + 2, straddle + 3,
- positive, positive));
- EXPECT_FALSE(SortedCollectionsIntersect(straddle, straddle + 3,
- positive + 1, positive + 1));
- EXPECT_TRUE(SortedCollectionsIntersect(straddle, straddle + 3,
- positive, positive + 1));
-}
-
// Don't crash when this occurs.
TEST_F(SyncerTest, UpdateWhereParentIsNotAFolder) {
ScopedDirLookup dir(syncdb_.manager(), syncdb_.name());
« no previous file with comments | « chrome/browser/sync/engine/syncer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698