OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/test/content_browser_test.h" | 5 #include "content/test/content_browser_test.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "content/public/common/content_switches.h" | 9 #include "content/public/common/content_switches.h" |
10 #include "content/public/test/browser_test_utils.h" | 10 #include "content/public/test/browser_test_utils.h" |
11 #include "content/shell/shell.h" | 11 #include "content/shell/browser/shell.h" |
12 #include "content/test/content_browser_test_utils.h" | 12 #include "content/test/content_browser_test_utils.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 class ContentBrowserTestSanityTest : public ContentBrowserTest { | 17 class ContentBrowserTestSanityTest : public ContentBrowserTest { |
18 public: | 18 public: |
19 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { | 19 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { |
20 const testing::TestInfo* const test_info = | 20 const testing::TestInfo* const test_info = |
21 testing::UnitTest::GetInstance()->current_test_info(); | 21 testing::UnitTest::GetInstance()->current_test_info(); |
(...skipping 14 matching lines...) Expand all Loading... |
36 | 36 |
37 IN_PROC_BROWSER_TEST_F(ContentBrowserTestSanityTest, Basic) { | 37 IN_PROC_BROWSER_TEST_F(ContentBrowserTestSanityTest, Basic) { |
38 Test(); | 38 Test(); |
39 } | 39 } |
40 | 40 |
41 IN_PROC_BROWSER_TEST_F(ContentBrowserTestSanityTest, SingleProcess) { | 41 IN_PROC_BROWSER_TEST_F(ContentBrowserTestSanityTest, SingleProcess) { |
42 Test(); | 42 Test(); |
43 } | 43 } |
44 | 44 |
45 } // namespace content | 45 } // namespace content |
OLD | NEW |