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

Unified Diff: apps/test/app_shell_test.h

Issue 224723022: Add the first app_shell_browsertest test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: temp dep Created 6 years, 8 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
« no previous file with comments | « apps/shell/test/shell_tests_main.cc ('k') | apps/test/app_shell_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/test/app_shell_test.h
diff --git a/apps/test/app_shell_test.h b/apps/test/app_shell_test.h
deleted file mode 100644
index e6be4609316cee69bb5436cea7fada33d38fa506..0000000000000000000000000000000000000000
--- a/apps/test/app_shell_test.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef APPS_TEST_APP_SHELL_TEST_H_
-#define APPS_TEST_APP_SHELL_TEST_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "content/public/test/browser_test.h"
-#include "content/public/test/browser_test_base.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace content {
-class BrowserContext;
-}
-
-namespace extensions {
-class ShellExtensionSystem;
-}
-
-namespace apps {
-
-// Base class for app shell browser tests.
-class AppShellTest : public content::BrowserTestBase {
- public:
- AppShellTest();
- virtual ~AppShellTest();
-
- virtual void SetUpOnMainThread() OVERRIDE;
- virtual void RunTestOnMainThreadLoop() OVERRIDE;
-
- // Loads an unpacked application from a directory using |extension_system_|
- // and attempts to launch it. Returns true on success.
- bool LoadAndLaunchApp(const base::FilePath& app_dir);
-
- content::BrowserContext* browser_context() { return browser_context_; }
-
- private:
- content::BrowserContext* browser_context_;
- extensions::ShellExtensionSystem* extension_system_;
-};
-
-} // namespace apps
-
-#endif // APPS_TEST_APP_SHELL_TEST_H_
« no previous file with comments | « apps/shell/test/shell_tests_main.cc ('k') | apps/test/app_shell_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698