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

Unified Diff: chrome/browser/google_update_settings_linux_unittest.cc

Issue 173020: Make Mac first run store sentinel in Profile directory. (Closed)
Patch Set: spelling Created 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/google_update_settings_linux_unittest.cc
diff --git a/chrome/browser/google_update_settings_linux_unittest.cc b/chrome/browser/google_update_settings_linux_unittest.cc
deleted file mode 100644
index 35f956aa92cc547e1b141999588f5a296c0f0f55..0000000000000000000000000000000000000000
--- a/chrome/browser/google_update_settings_linux_unittest.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2009 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 "chrome/installer/util/google_update_settings.h"
-#include "testing/gtest/include/gtest/gtest.h"
-#include "testing/platform_test.h"
-
-class GoogleUpdateTest : public PlatformTest {
-};
-
-TEST_F(GoogleUpdateTest, StatsConstent) {
- // Stats are off by default.
- EXPECT_FALSE(GoogleUpdateSettings::GetCollectStatsConsent());
-
- // Stats reporting is ON.
- EXPECT_TRUE(GoogleUpdateSettings::SetCollectStatsConsent(true));
- EXPECT_TRUE(GoogleUpdateSettings::GetCollectStatsConsent());
-
- // Stats reporting is OFF.
- EXPECT_TRUE(GoogleUpdateSettings::SetCollectStatsConsent(false));
- EXPECT_FALSE(GoogleUpdateSettings::GetCollectStatsConsent());
-}

Powered by Google App Engine
This is Rietveld 408576698