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