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

Unified Diff: chromecast/shell/browser/test/chromecast_shell_browser_test.cc

Issue 518773003: Chromecast: end-to-end browser test based on content::BrowserTest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cast-browser-process
Patch Set: Created 6 years, 4 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: 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..117824415dec1d344bef939b7a4e5a32c02c3569
--- /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") { }
+
+ virtual void SetUpOnMainThread() OVERRIDE {
+ CreateBrowser();
+ NavigateToURL(web_contents(), url_);
+ }
+
+ private:
+ GURL url_;
byungchul 2014/08/30 00:19:00 const?
gunsch 2014/08/30 15:28:43 Done.
+
+ 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.
+ EXPECT_TRUE(true);
+}
+
+} // namespace shell
+} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698