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

Side by Side Diff: sync/sessions/session_state_unittest.cc

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « sync/sessions/session_state.cc ('k') | sync/sessions/status_controller.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/sessions/session_state.h" 5 #include "sync/sessions/session_state.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/test/values_test_util.h" 11 #include "base/test/values_test_util.h"
12 #include "base/time.h" 12 #include "base/time.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" 14 #include "sync/internal_api/public/sessions/sync_session_snapshot.h"
15 #include "sync/internal_api/public/sessions/sync_source_info.h" 15 #include "sync/internal_api/public/sessions/sync_source_info.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 namespace csync { 18 namespace syncer {
19 namespace sessions { 19 namespace sessions {
20 namespace { 20 namespace {
21 21
22 using base::ExpectDictBooleanValue; 22 using base::ExpectDictBooleanValue;
23 using base::ExpectDictDictionaryValue; 23 using base::ExpectDictDictionaryValue;
24 using base::ExpectDictIntegerValue; 24 using base::ExpectDictIntegerValue;
25 using base::ExpectDictListValue; 25 using base::ExpectDictListValue;
26 using base::ExpectDictStringValue; 26 using base::ExpectDictStringValue;
27 27
28 class SessionStateTest : public testing::Test {}; 28 class SessionStateTest : public testing::Test {};
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 ExpectDictIntegerValue(kNumSimpleConflicts, *value, 125 ExpectDictIntegerValue(kNumSimpleConflicts, *value,
126 "numSimpleConflicts"); 126 "numSimpleConflicts");
127 ExpectDictIntegerValue(kNumServerConflicts, *value, 127 ExpectDictIntegerValue(kNumServerConflicts, *value,
128 "numServerConflicts"); 128 "numServerConflicts");
129 ExpectDictDictionaryValue(*expected_source_value, *value, "source"); 129 ExpectDictDictionaryValue(*expected_source_value, *value, "source");
130 ExpectDictBooleanValue(false, *value, "notificationsEnabled"); 130 ExpectDictBooleanValue(false, *value, "notificationsEnabled");
131 } 131 }
132 132
133 } // namespace 133 } // namespace
134 } // namespace sessions 134 } // namespace sessions
135 } // namespace csync 135 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/sessions/session_state.cc ('k') | sync/sessions/status_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698