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

Side by Side Diff: chrome/browser/extensions/cast_streaming_apitest.cc

Issue 184813009: Cast Streaming API end-to-end browser_test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix LoggingImplTest + REBASE Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 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/command_line.h"
6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/common/chrome_switches.h"
8 #include "content/public/common/content_switches.h"
9 #include "testing/gtest/include/gtest/gtest.h"
10
11 namespace extensions {
12
13 class CastStreamingApiTest : public ExtensionApiTest {
14 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
15 ExtensionApiTest::SetUpCommandLine(command_line);
16 command_line->AppendSwitchASCII(
17 switches::kWhitelistedExtensionID,
18 "ddchlicdkolnonkihahngkmmmjnjlkkf");
19 }
20 };
21
22 // Test running the test extension for Cast Mirroring API.
23 IN_PROC_BROWSER_TEST_F(CastStreamingApiTest, Basics) {
24 ASSERT_TRUE(RunExtensionSubtest("cast_streaming", "basics.html"));
25 }
26
27 IN_PROC_BROWSER_TEST_F(CastStreamingApiTest, Stats) {
28 ASSERT_TRUE(RunExtensionSubtest("cast_streaming", "stats.html"));
29 }
30
31 IN_PROC_BROWSER_TEST_F(CastStreamingApiTest, BadLogging) {
32 ASSERT_TRUE(RunExtensionSubtest("cast_streaming", "bad_logging.html"));
33 }
34
35 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/cast_streaming/cast_streaming_apitest.cc ('k') | chrome/chrome_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698