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/path_service.h" | |
6 #include "chrome/browser/extensions/extension_apitest.h" | 5 #include "chrome/browser/extensions/extension_apitest.h" |
7 #include "content/public/common/content_paths.h" | 6 #include "content/public/common/content_paths.h" |
8 #include "net/base/test_data_directory.h" | 7 #include "net/base/test_data_directory.h" |
9 #include "net/dns/mock_host_resolver.h" | 8 #include "net/dns/mock_host_resolver.h" |
10 | 9 |
11 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebSocket) { | 10 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebSocket) { |
12 ASSERT_TRUE(StartWebSocketServer(net::GetWebSocketTestDataDirectory())); | 11 ASSERT_TRUE(StartWebSocketServer(net::GetWebSocketTestDataDirectory())); |
13 ASSERT_TRUE(RunExtensionTest("websocket")) << message_; | 12 ASSERT_TRUE(RunExtensionTest("websocket")) << message_; |
14 } | 13 } |
OLD | NEW |