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

Unified Diff: chrome/browser/extensions/extension_history_apitest.cc

Issue 8372021: Move history extension API implementation to history dir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 2 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/extensions/extension_history_apitest.cc
diff --git a/chrome/browser/extensions/extension_history_apitest.cc b/chrome/browser/extensions/extension_history_apitest.cc
deleted file mode 100644
index 506319f4ced59411cd44e69a6b9a52a1d2d6f78b..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/extension_history_apitest.cc
+++ /dev/null
@@ -1,58 +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 "base/base_switches.h"
-#include "base/command_line.h"
-#include "chrome/browser/extensions/extension_apitest.h"
-#include "net/base/mock_host_resolver.h"
-
-class ExtensionHistoryApiTest : public ExtensionApiTest {
- public:
- virtual void SetUpInProcessBrowserTestFixture() {
- ExtensionApiTest::SetUpInProcessBrowserTestFixture();
-
- host_resolver()->AddRule("www.a.com", "127.0.0.1");
- host_resolver()->AddRule("www.b.com", "127.0.0.1");
-
- ASSERT_TRUE(StartTestServer());
- }
-};
-
-// Full text search indexing sometimes exceeds a timeout.
-// Fix this as part of crbug/76170.
-IN_PROC_BROWSER_TEST_F(ExtensionHistoryApiTest, DISABLED_MiscSearch) {
- ASSERT_TRUE(RunExtensionSubtest("history", "misc_search.html")) << message_;
-}
-
-IN_PROC_BROWSER_TEST_F(ExtensionHistoryApiTest, TimedSearch) {
- ASSERT_TRUE(RunExtensionSubtest("history", "timed_search.html")) << message_;
-}
-
-#if defined(OS_WIN)
-// Flakily times out on Win - See http://crbug.com/88318
-#define MAYBE_Delete FLAKY_Delete
-#else
-#define MAYBE_Delete Delete
-#endif
-IN_PROC_BROWSER_TEST_F(ExtensionHistoryApiTest, MAYBE_Delete) {
- ASSERT_TRUE(RunExtensionSubtest("history", "delete.html")) << message_;
-}
-
-// See crbug.com/79074
-IN_PROC_BROWSER_TEST_F(ExtensionHistoryApiTest, FLAKY_GetVisits) {
- ASSERT_TRUE(RunExtensionSubtest("history", "get_visits.html")) << message_;
-}
-
-#if defined(OS_WIN)
-// Searching for a URL right after adding it fails on win XP.
-// Fix this as part of crbug/76170.
-#define MAYBE_SearchAfterAdd FLAKY_SearchAfterAdd
-#else
-#define MAYBE_SearchAfterAdd SearchAfterAdd
-#endif
-
-IN_PROC_BROWSER_TEST_F(ExtensionHistoryApiTest, MAYBE_SearchAfterAdd) {
- ASSERT_TRUE(RunExtensionSubtest("history", "search_after_add.html"))
- << message_;
-}
« no previous file with comments | « chrome/browser/extensions/extension_history_api_constants.cc ('k') | chrome/browser/extensions/extension_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698