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

Unified Diff: chrome/browser/sync/util/get_session_name_task_unittest.cc

Issue 9565050: [Sync] Simplify GetSessionName interface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win compile failure Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/util/get_session_name_task_unittest.cc
diff --git a/chrome/browser/sync/util/get_session_name_task_unittest.cc b/chrome/browser/sync/util/get_session_name_task_unittest.cc
deleted file mode 100644
index 97f6dfe1fd0be6c82e88e85068db76b2a0da5728..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/util/get_session_name_task_unittest.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright (c) 2012 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 <string>
-
-#include "chrome/browser/sync/util/get_session_name_task.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace browser_sync {
-
-typedef testing::Test SyncGetSessionNameTaskTest;
-
-#if defined(OS_WIN)
-// The test is somewhat silly, and just verifies that we return a computer name.
-TEST_F(SyncGetSessionNameTaskTest, GetComputerName) {
- std::string computer_name = GetSessionNameTask::GetComputerName();
- EXPECT_TRUE(!computer_name.empty());
-}
-#endif
-
-#if defined(OS_MACOSX)
-// The test is somewhat silly, and just verifies that we return a hardware
-// model name.
-TEST_F(SyncGetSessionNameTaskTest, GetHardwareModelName) {
- std::string hardware_model = GetSessionNameTask::GetHardwareModelName();
- EXPECT_TRUE(!hardware_model.empty());
-}
-#endif
-
-}
« no previous file with comments | « chrome/browser/sync/util/get_session_name_task_mac.mm ('k') | chrome/browser/sync/util/get_session_name_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698