OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "base/string_util.h" | 5 #include "base/string_util.h" |
6 #include "base/utf_string_conversions.h" | 6 #include "base/strings/utf_string_conversions.h" |
7 #include "chrome/browser/ui/browser.h" | 7 #include "chrome/browser/ui/browser.h" |
8 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 8 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
9 #include "chrome/test/base/in_process_browser_test.h" | 9 #include "chrome/test/base/in_process_browser_test.h" |
10 #include "chrome/test/base/ui_test_utils.h" | 10 #include "chrome/test/base/ui_test_utils.h" |
11 #include "content/public/test/browser_test_utils.h" | 11 #include "content/public/test/browser_test_utils.h" |
12 #include "net/base/test_data_directory.h" | 12 #include "net/base/test_data_directory.h" |
13 #include "net/test/spawned_test_server/spawned_test_server.h" | 13 #include "net/test/spawned_test_server/spawned_test_server.h" |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 ui_test_utils::NavigateToURL( | 85 ui_test_utils::NavigateToURL( |
86 browser(), | 86 browser(), |
87 wss_server_.GetURL( | 87 wss_server_.GetURL( |
88 "split_packet_check.html").ReplaceComponents(replacements)); | 88 "split_packet_check.html").ReplaceComponents(replacements)); |
89 | 89 |
90 const string16 result = watcher.WaitAndGetTitle(); | 90 const string16 result = watcher.WaitAndGetTitle(); |
91 EXPECT_TRUE(EqualsASCII(result, "PASS")); | 91 EXPECT_TRUE(EqualsASCII(result, "PASS")); |
92 } | 92 } |
93 | 93 |
94 } // namespace | 94 } // namespace |
OLD | NEW |