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

Side by Side Diff: components/sync/base/enum_set_unittest.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « components/sync/base/enum_set.h ('k') | components/sync/base/experiments.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/internal_api/public/base/enum_set.h" 5 #include "components/sync/base/enum_set.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace syncer { 11 namespace syncer {
12 namespace { 12 namespace {
13 13
14 enum TestEnum { 14 enum TestEnum {
15 TEST_0, 15 TEST_0,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 TEST_F(EnumSetTest, Difference) { 187 TEST_F(EnumSetTest, Difference) {
188 const TestEnumSet enums1(TEST_3, TEST_4); 188 const TestEnumSet enums1(TEST_3, TEST_4);
189 const TestEnumSet enums2(TEST_2, TEST_3); 189 const TestEnumSet enums2(TEST_2, TEST_3);
190 const TestEnumSet enums3 = Difference(enums1, enums2); 190 const TestEnumSet enums3 = Difference(enums1, enums2);
191 191
192 EXPECT_EQ(TestEnumSet(TEST_4), enums3); 192 EXPECT_EQ(TestEnumSet(TEST_4), enums3);
193 } 193 }
194 194
195 } // namespace 195 } // namespace
196 } // namespace syncer 196 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/base/enum_set.h ('k') | components/sync/base/experiments.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698