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

Unified Diff: chrome/browser/autocomplete/autocomplete_unittest.cc

Issue 7744039: Switch ChromeTestSuite to the same convention as ContentTestSuite: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixing 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
Index: chrome/browser/autocomplete/autocomplete_unittest.cc
diff --git a/chrome/browser/autocomplete/autocomplete_unittest.cc b/chrome/browser/autocomplete/autocomplete_unittest.cc
index cf3dec1ebb1bc696903b898767aac2af54f39c33..633c6089e99030a407e0451246f7d6808819da63 100644
--- a/chrome/browser/autocomplete/autocomplete_unittest.cc
+++ b/chrome/browser/autocomplete/autocomplete_unittest.cc
@@ -16,7 +16,6 @@
#include "chrome/browser/search_engines/template_url_service_factory.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/test/base/testing_browser_process.h"
-#include "chrome/test/base/testing_browser_process_test.h"
#include "chrome/test/base/testing_profile.h"
#include "content/common/notification_observer.h"
#include "content/common/notification_registrar.h"
@@ -127,8 +126,6 @@ class AutocompleteProviderTest : public testing::Test,
const NotificationSource& source,
const NotificationDetails& details);
- ScopedTestingBrowserProcess browser_process_;
-
MessageLoopForUI message_loop_;
scoped_ptr<AutocompleteController> controller_;
NotificationRegistrar registrar_;
@@ -273,7 +270,7 @@ TEST_F(AutocompleteProviderTest, AllowExactKeywordMatch) {
RunExactKeymatchTest(false);
}
-typedef TestingBrowserProcessTest AutocompleteTest;
+typedef testing::Test AutocompleteTest;
TEST_F(AutocompleteTest, InputType) {
struct test_data {
@@ -464,8 +461,6 @@ TEST(AutocompleteInput, ParseForEmphasizeComponent) {
Component(12, 11), kInvalidComponent }
};
- ScopedTestingBrowserProcess browser_process;
-
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(input_cases); ++i) {
Component scheme, host;
AutocompleteInput::ParseForEmphasizeComponents(input_cases[i].input,

Powered by Google App Engine
This is Rietveld 408576698