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

Unified Diff: chromecast/browser/test/cast_browser_test.h

Issue 2502143002: Revert of [chromecast] Make testnames consistent. (Closed)
Patch Set: Created 4 years, 1 month 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 | « chromecast/browser/test/DEPS ('k') | chromecast/browser/test/cast_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/test/cast_browser_test.h
diff --git a/chromecast/browser/test/cast_browser_test.h b/chromecast/browser/test/cast_browser_test.h
deleted file mode 100644
index dfb25ebd02c1dfa2e537fc23e5e020529275f368..0000000000000000000000000000000000000000
--- a/chromecast/browser/test/cast_browser_test.h
+++ /dev/null
@@ -1,51 +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 CHROMECAST_BROWSER_TEST_CAST_BROWSER_TEST_H_
-#define CHROMECAST_BROWSER_TEST_CAST_BROWSER_TEST_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "content/public/test/browser_test.h"
-#include "content/public/test/browser_test_base.h"
-
-namespace content {
-class WebContents;
-}
-
-namespace chromecast {
-namespace shell {
-
-class CastContentWindow;
-
-// This test allows for running an entire browser-process lifecycle per unit
-// test, using Chromecast's cast_shell. This starts up the shell, runs a test
-// case, then shuts down the entire shell.
-// Note that this process takes 7-10 seconds per test case on Chromecast, so
-// fewer test cases with more assertions are preferable.
-class CastBrowserTest : public content::BrowserTestBase {
- protected:
- CastBrowserTest();
- ~CastBrowserTest() override;
-
- // content::BrowserTestBase implementation:
- void SetUp() final;
- void TearDownOnMainThread() override;
- void SetUpCommandLine(base::CommandLine* command_line) override;
- void RunTestOnMainThreadLoop() final;
-
- content::WebContents* NavigateToURL(const GURL& url);
-
- private:
- std::unique_ptr<CastContentWindow> window_;
- std::unique_ptr<content::WebContents> web_contents_;
-
- DISALLOW_COPY_AND_ASSIGN(CastBrowserTest);
-};
-
-} // namespace shell
-} // namespace chromecast
-
-#endif // CHROMECAST_BROWSER_TEST_CAST_BROWSER_TEST_H_
« no previous file with comments | « chromecast/browser/test/DEPS ('k') | chromecast/browser/test/cast_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698