OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "base/macros.h" | |
6 #include "chromecast/shell/browser/test/chromecast_browser_test.h" | |
7 #include "url/gurl.h" | |
8 | |
9 namespace chromecast { | |
10 namespace shell { | |
11 | |
12 class ChromecastShellBrowserTest : public ChromecastBrowserTest { | |
13 public: | |
14 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.
| |
15 | |
16 virtual void SetUpOnMainThread() OVERRIDE { | |
17 CreateBrowser(); | |
18 NavigateToURL(web_contents(), url_); | |
19 } | |
20 | |
21 private: | |
22 const GURL url_; | |
23 | |
24 DISALLOW_COPY_AND_ASSIGN(ChromecastShellBrowserTest); | |
25 }; | |
26 | |
27 IN_PROC_BROWSER_TEST_F(ChromecastShellBrowserTest, EmptyTest) { | |
28 // Run an entire browser lifecycle to ensure nothing breaks. | |
29 // 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.
| |
30 EXPECT_TRUE(true); | |
31 } | |
32 | |
33 } // namespace shell | |
34 } // namespace chromecast | |
OLD | NEW |