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 "chrome/test/ui/ui_test.h" | 5 #include "chrome/test/ui/ui_test.h" |
6 | 6 |
7 #include "chrome/common/url_constants.h" | 7 #include "chrome/common/url_constants.h" |
8 #include "chrome/test/automation/automation_proxy.h" | 8 #include "chrome/test/automation/automation_proxy.h" |
9 #include "chrome/test/automation/proxy_launcher.h" | 9 #include "chrome/test/automation/proxy_launcher.h" |
10 #include "chrome/test/test_switches.h" | 10 #include "chrome/test/base/test_switches.h" |
11 | 11 |
12 // The named testing interface enables the use of a named socket for controlling | 12 // The named testing interface enables the use of a named socket for controlling |
13 // the browser. This eliminates the dependency that the browser must be forked | 13 // the browser. This eliminates the dependency that the browser must be forked |
14 // from the controlling process. | 14 // from the controlling process. |
15 namespace { | 15 namespace { |
16 | 16 |
17 class NamedInterfaceTest : public UITest { | 17 class NamedInterfaceTest : public UITest { |
18 public: | 18 public: |
19 NamedInterfaceTest() { | 19 NamedInterfaceTest() { |
20 show_window_ = true; | 20 show_window_ = true; |
(...skipping 19 matching lines...) Expand all Loading... |
40 ASSERT_TRUE(browser_proxy.get()); | 40 ASSERT_TRUE(browser_proxy.get()); |
41 | 41 |
42 for (int i = 0; i < 10; ++i) | 42 for (int i = 0; i < 10; ++i) |
43 ASSERT_TRUE(browser_proxy->AppendTab(GURL(chrome::kAboutBlankURL))); | 43 ASSERT_TRUE(browser_proxy->AppendTab(GURL(chrome::kAboutBlankURL))); |
44 } | 44 } |
45 | 45 |
46 // TODO(dtu): crosbug.com/8514: Write a test that makes sure you can disconnect, | 46 // TODO(dtu): crosbug.com/8514: Write a test that makes sure you can disconnect, |
47 // then reconnect with a new connection and continue automation. | 47 // then reconnect with a new connection and continue automation. |
48 | 48 |
49 } // namespace | 49 } // namespace |
OLD | NEW |