Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: chrome/browser/extensions/extension_websocket_apitest.cc

Issue 8638009: Re-enable ExtensionApiTest.WebSocket. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use PathService::Get(chrome::DIR_LAYOUT_TESTS) Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "base/path_service.h" 5 #include "base/path_service.h"
6 #include "chrome/browser/extensions/extension_apitest.h" 6 #include "chrome/browser/extensions/extension_apitest.h"
7 #include "chrome/common/chrome_paths.h" 7 #include "chrome/common/chrome_paths.h"
8 #include "chrome/test/base/ui_test_utils.h" 8 #include "chrome/test/base/ui_test_utils.h"
9 #include "net/base/mock_host_resolver.h" 9 #include "net/base/mock_host_resolver.h"
10 10
11 // Disabled, http://crbug.com/91058. 11 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, WebSocket) {
12 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, DISABLED_WebSocket) {
13 FilePath websocket_root_dir; 12 FilePath websocket_root_dir;
14 ASSERT_TRUE(PathService::Get(chrome::DIR_LAYOUT_TESTS, &websocket_root_dir)); 13 ASSERT_TRUE(PathService::Get(chrome::DIR_LAYOUT_TESTS, &websocket_root_dir));
15 14
16 ui_test_utils::TestWebSocketServer server; 15 ui_test_utils::TestWebSocketServer server;
17 ASSERT_TRUE(server.Start(websocket_root_dir)); 16 ASSERT_TRUE(server.Start(websocket_root_dir));
18 ASSERT_TRUE(RunExtensionTest("websocket")) << message_; 17 ASSERT_TRUE(RunExtensionTest("websocket")) << message_;
19 } 18 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698