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

Unified Diff: content/browser/plugin_service_unittest.cc

Issue 7800004: Move more files to content_unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 9 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
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/browser/tab_contents/tab_contents_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/plugin_service_unittest.cc
diff --git a/content/browser/plugin_service_unittest.cc b/content/browser/plugin_service_unittest.cc
deleted file mode 100644
index 4d9f420c8ffa07748d8887aa58b5392814879211..0000000000000000000000000000000000000000
--- a/content/browser/plugin_service_unittest.cc
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2011 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 "content/browser/plugin_service.h"
-
-#include "content/browser/browser_thread.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace {
-
-class PluginServiceTest : public testing::Test {
- public:
- PluginServiceTest()
- : message_loop_(MessageLoop::TYPE_IO),
- ui_thread_(BrowserThread::UI, &message_loop_),
- file_thread_(BrowserThread::FILE, &message_loop_),
- io_thread_(BrowserThread::IO, &message_loop_) {}
-
-
- virtual void SetUp() {
- plugin_service_ = PluginService::GetInstance();
- ASSERT_TRUE(plugin_service_);
- }
-
- protected:
- MessageLoop message_loop_;
- PluginService* plugin_service_;
-
- private:
- BrowserThread ui_thread_;
- BrowserThread file_thread_;
- BrowserThread io_thread_;
-
- DISALLOW_COPY_AND_ASSIGN(PluginServiceTest);
-};
-
-TEST_F(PluginServiceTest, GetUILocale) {
- // Check for a non-empty locale string.
- EXPECT_NE("", plugin_service_->GetUILocale());
-}
-
-} // namespace
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/browser/tab_contents/tab_contents_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698