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

Side by Side Diff: content/browser/plugin_service_unittest.cc

Issue 7616019: Reorganize chrome/test, part #9 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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 "content/browser/plugin_service.h" 5 #include "content/browser/plugin_service.h"
6 6
7 #include "chrome/test/testing_browser_process_test.h" 7 #include "chrome/test/base/testing_browser_process_test.h"
8 #include "content/browser/browser_thread.h" 8 #include "content/browser/browser_thread.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace { 11 namespace {
12 12
13 class PluginServiceTest : public TestingBrowserProcessTest { 13 class PluginServiceTest : public TestingBrowserProcessTest {
14 public: 14 public:
15 PluginServiceTest() 15 PluginServiceTest()
16 : message_loop_(MessageLoop::TYPE_IO), 16 : message_loop_(MessageLoop::TYPE_IO),
17 ui_thread_(BrowserThread::UI, &message_loop_), 17 ui_thread_(BrowserThread::UI, &message_loop_),
(...skipping 17 matching lines...) Expand all
35 35
36 DISALLOW_COPY_AND_ASSIGN(PluginServiceTest); 36 DISALLOW_COPY_AND_ASSIGN(PluginServiceTest);
37 }; 37 };
38 38
39 TEST_F(PluginServiceTest, GetUILocale) { 39 TEST_F(PluginServiceTest, GetUILocale) {
40 // Check for a non-empty locale string. 40 // Check for a non-empty locale string.
41 EXPECT_NE("", plugin_service_->GetUILocale()); 41 EXPECT_NE("", plugin_service_->GetUILocale());
42 } 42 }
43 43
44 } // namespace 44 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698