diff options
Diffstat (limited to 'chromium/sync/syncable/syncable_util_unittest.cc')
-rw-r--r-- | chromium/sync/syncable/syncable_util_unittest.cc | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/chromium/sync/syncable/syncable_util_unittest.cc b/chromium/sync/syncable/syncable_util_unittest.cc deleted file mode 100644 index 8f818f0a134..00000000000 --- a/chromium/sync/syncable/syncable_util_unittest.cc +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "sync/internal_api/public/base/model_type.h" -#include "sync/syncable/syncable_util.h" -#include "testing/gtest/include/gtest/gtest.h" - -namespace syncer { -namespace syncable { -namespace { - -// Tests that the hashing algorithm has not changed. -TEST(SyncableUtilTest, GenerateSyncableHash) { - EXPECT_EQ("OyaXV5mEzrPS4wbogmtKvRfekAI=", - GenerateSyncableHash(BOOKMARKS, "tag1")); - EXPECT_EQ("iNFQtRFQb+IZcn1kKUJEZDDkLs4=", - GenerateSyncableHash(PREFERENCES, "tag1")); - EXPECT_EQ("gO1cPZQXaM73sHOvSA+tKCKFs58=", - GenerateSyncableHash(AUTOFILL, "tag1")); - - EXPECT_EQ("A0eYIHXM1/jVwKDDp12Up20IkKY=", - GenerateSyncableHash(BOOKMARKS, "tag2")); - EXPECT_EQ("XYxkF7bhS4eItStFgiOIAU23swI=", - GenerateSyncableHash(PREFERENCES, "tag2")); - EXPECT_EQ("GFiWzo5NGhjLlN+OyCfhy28DJTQ=", - GenerateSyncableHash(AUTOFILL, "tag2")); -} - -} // namespace -} // namespace syncer -} // namespace syncable |