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
3 // found in the LICENSE file.
5 #include "chrome/browser/extensions/extension_apitest.h"
6 #include "content/public/common/content_paths.h"
7 #include "net/base/test_data_directory.h"
8 #include "net/dns/mock_host_resolver.h"
10 IN_PROC_BROWSER_TEST_F(ExtensionApiTest
, WebSocket
) {
11 ASSERT_TRUE(StartWebSocketServer(net::GetWebSocketTestDataDirectory()));
12 ASSERT_TRUE(RunExtensionTest("websocket")) << message_
;