Chromium Code Reviews| Index: chromecast/shell/browser/test/chromecast_shell_browser_test.cc |
| diff --git a/chromecast/shell/browser/test/chromecast_shell_browser_test.cc b/chromecast/shell/browser/test/chromecast_shell_browser_test.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a5d4a7cfc6f9f1c80c7dae09720740e471137809 |
| --- /dev/null |
| +++ b/chromecast/shell/browser/test/chromecast_shell_browser_test.cc |
| @@ -0,0 +1,34 @@ |
| +// 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. |
| + |
| +#include "base/macros.h" |
| +#include "chromecast/shell/browser/test/chromecast_browser_test.h" |
| +#include "url/gurl.h" |
| + |
| +namespace chromecast { |
| +namespace shell { |
| + |
| +class ChromecastShellBrowserTest : public ChromecastBrowserTest { |
| + public: |
| + ChromecastShellBrowserTest() : url_("about:blank") {} |
|
Paweł Hajdan Jr.
2014/09/09 12:24:31
nit: There is a constant for about:blank, please u
gunsch
2014/09/09 16:02:11
Done.
|
| + |
| + virtual void SetUpOnMainThread() OVERRIDE { |
| + CreateBrowser(); |
| + NavigateToURL(web_contents(), url_); |
| + } |
| + |
| + private: |
| + const GURL url_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(ChromecastShellBrowserTest); |
| +}; |
| + |
| +IN_PROC_BROWSER_TEST_F(ChromecastShellBrowserTest, EmptyTest) { |
| + // Run an entire browser lifecycle to ensure nothing breaks. |
| + // This test case can be removed once actual assertions are being tested. |
|
Paweł Hajdan Jr.
2014/09/09 12:24:31
Please add a TODO to do this.
gunsch
2014/09/09 16:02:11
Done.
|
| + EXPECT_TRUE(true); |
| +} |
| + |
| +} // namespace shell |
| +} // namespace chromecast |