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

Unified Diff: chrome/test/live_sync/single_client_live_themes_sync_test.cc

Issue 4732005: [Sync] Added some basic extension sync integration tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed whitespace Created 10 years, 1 month 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
Index: chrome/test/live_sync/single_client_live_themes_sync_test.cc
diff --git a/chrome/test/live_sync/single_client_live_themes_sync_test.cc b/chrome/test/live_sync/single_client_live_themes_sync_test.cc
index f8cef03ed6a8265710350def184923caaeb4130d..18b9dcde7f4af432109f604787cfc33275bcf980 100644
--- a/chrome/test/live_sync/single_client_live_themes_sync_test.cc
+++ b/chrome/test/live_sync/single_client_live_themes_sync_test.cc
@@ -21,9 +21,9 @@ class SingleClientLiveThemesSyncTest : public LiveThemesSyncTest {
// SetupSync()).
IN_PROC_BROWSER_TEST_F(SingleClientLiveThemesSyncTest, CustomTheme) {
- ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
+ ASSERT_TRUE(SetupSync());
- scoped_refptr<Extension> theme = GetTheme(0);
+ scoped_refptr<Extension> theme = MakeTheme();
ASSERT_EQ(NULL, GetCustomTheme(GetProfile(0)));
ASSERT_EQ(NULL, GetCustomTheme(verifier()));
@@ -40,9 +40,9 @@ IN_PROC_BROWSER_TEST_F(SingleClientLiveThemesSyncTest, CustomTheme) {
}
IN_PROC_BROWSER_TEST_F(SingleClientLiveThemesSyncTest, NativeTheme) {
- ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
+ ASSERT_TRUE(SetupSync());
- scoped_refptr<Extension> theme = GetTheme(0);
+ scoped_refptr<Extension> theme = MakeTheme();
SetTheme(GetProfile(0), theme);
SetTheme(verifier(), theme);
ASSERT_FALSE(UsingNativeTheme(GetProfile(0)));
@@ -64,9 +64,9 @@ IN_PROC_BROWSER_TEST_F(SingleClientLiveThemesSyncTest, NativeTheme) {
}
IN_PROC_BROWSER_TEST_F(SingleClientLiveThemesSyncTest, DefaultTheme) {
- ASSERT_TRUE(SetupSync()) << "SetupSync() failed.";
+ ASSERT_TRUE(SetupSync());
- scoped_refptr<Extension> theme = GetTheme(0);
+ scoped_refptr<Extension> theme = MakeTheme();
SetTheme(GetProfile(0), theme);
SetTheme(verifier(), theme);
ASSERT_FALSE(UsingDefaultTheme(GetProfile(0)));

Powered by Google App Engine
This is Rietveld 408576698