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

Side by Side Diff: chrome/test/live_sync/single_client_live_themes_sync_test.cc

Issue 6462015: Cleanup more test code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wtf windows is this me Created 9 years, 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/test/live_sync/live_themes_sync_test.h"
6
7 #include "base/basictypes.h" 5 #include "base/basictypes.h"
8 #include "chrome/browser/profiles/profile.h" 6 #include "chrome/browser/profiles/profile.h"
7 #include "chrome/browser/sync/profile_sync_service_harness.h"
9 #include "chrome/common/extensions/extension.h" 8 #include "chrome/common/extensions/extension.h"
9 #include "chrome/test/live_sync/live_themes_sync_test.h"
10 10
11 class SingleClientLiveThemesSyncTest : public LiveThemesSyncTest { 11 class SingleClientLiveThemesSyncTest : public LiveThemesSyncTest {
12 public: 12 public:
13 SingleClientLiveThemesSyncTest() : LiveThemesSyncTest(SINGLE_CLIENT) {} 13 SingleClientLiveThemesSyncTest() : LiveThemesSyncTest(SINGLE_CLIENT) {}
14 virtual ~SingleClientLiveThemesSyncTest() {} 14 virtual ~SingleClientLiveThemesSyncTest() {}
15 15
16 private: 16 private:
17 DISALLOW_COPY_AND_ASSIGN(SingleClientLiveThemesSyncTest); 17 DISALLOW_COPY_AND_ASSIGN(SingleClientLiveThemesSyncTest);
18 }; 18 };
19 19
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 verifier()->ClearTheme(); 77 verifier()->ClearTheme();
78 ASSERT_TRUE(UsingDefaultTheme(GetProfile(0))); 78 ASSERT_TRUE(UsingDefaultTheme(GetProfile(0)));
79 ASSERT_TRUE(UsingDefaultTheme(verifier())); 79 ASSERT_TRUE(UsingDefaultTheme(verifier()));
80 80
81 ASSERT_TRUE(GetClient(0)->AwaitSyncCycleCompletion( 81 ASSERT_TRUE(GetClient(0)->AwaitSyncCycleCompletion(
82 "Waiting for native themes change.")); 82 "Waiting for native themes change."));
83 83
84 ASSERT_TRUE(UsingDefaultTheme(GetProfile(0))); 84 ASSERT_TRUE(UsingDefaultTheme(GetProfile(0)));
85 ASSERT_TRUE(UsingDefaultTheme(verifier())); 85 ASSERT_TRUE(UsingDefaultTheme(verifier()));
86 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698