Index: content/browser/plugin_service_unittest.cc |
diff --git a/content/browser/plugin_service_unittest.cc b/content/browser/plugin_service_unittest.cc |
index 4d9f420c8ffa07748d8887aa58b5392814879211..ca4ff46922afa4a010ccef45ad5bab98f299c8f6 100644 |
--- a/content/browser/plugin_service_unittest.cc |
+++ b/content/browser/plugin_service_unittest.cc |
@@ -17,27 +17,15 @@ class PluginServiceTest : public testing::Test { |
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: |
+ MessageLoop message_loop_; |
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()); |
+TEST_F(PluginServiceTest, GetInstance) { |
+ ASSERT_TRUE(PluginService::GetInstance()); |
jam
2011/08/29 22:06:56
(not related to your change)
this test seems so u
Paweł Hajdan Jr.
2011/08/29 22:12:14
Done.
|
} |
} // namespace |