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

Unified Diff: chrome/browser/automation/automation_provider_unittest.cc

Issue 6478005: GTTF: Use a fresh TestingBrowserProcess for each test, part #1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make more tests use the new base class Created 9 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/automation/automation_provider_unittest.cc
diff --git a/chrome/browser/automation/automation_provider_unittest.cc b/chrome/browser/automation/automation_provider_unittest.cc
index c931701ecb11e08511f7ddc4ff0cd46e3e66964d..3631c4450597c66c5a9a2c7a6b7f0809ea95df0c 100644
--- a/chrome/browser/automation/automation_provider_unittest.cc
+++ b/chrome/browser/automation/automation_provider_unittest.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/browser_thread.h"
#include "chrome/browser/automation/chrome_frame_automation_provider.h"
+#include "chrome/test/testing_browser_process.h"
+#include "chrome/test/testing_browser_process_test.h"
#include "ipc/ipc_message.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -20,7 +22,9 @@ class MockChromeFrameAutomationProvider
void (const IPC::Message& message)); // NOLINT
};
-TEST(AutomationProviderTest, TestInvalidChromeFrameMessage) {
+typedef TestingBrowserProcessTest AutomationProviderTest;
+
+TEST_F(AutomationProviderTest, TestInvalidChromeFrameMessage) {
MessageLoop message_loop;
BrowserThread ui_thread(BrowserThread::UI, &message_loop);
« no previous file with comments | « chrome/browser/autofill/personal_data_manager_unittest.cc ('k') | chrome/browser/background_contents_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698