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

Side by Side Diff: chrome/worker/worker_uitest.cc

Issue 239004: Re-disable all Worker tests until I can figure out exact set of failing ones.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/worker_host/worker_service.h" 5 #include "chrome/browser/worker_host/worker_service.h"
6 #include "chrome/test/automation/browser_proxy.h" 6 #include "chrome/test/automation/browser_proxy.h"
7 #include "chrome/test/automation/tab_proxy.h" 7 #include "chrome/test/automation/tab_proxy.h"
8 #include "chrome/test/ui/ui_layout_test.h" 8 #include "chrome/test/ui/ui_layout_test.h"
9 9
10 static const char kTestCompleteCookie[] = "status"; 10 static const char kTestCompleteCookie[] = "status";
(...skipping 17 matching lines...) Expand all
28 }; 28 };
29 29
30 TEST_F(WorkerTest, SingleWorker) { 30 TEST_F(WorkerTest, SingleWorker) {
31 RunTest(L"single_worker.html"); 31 RunTest(L"single_worker.html");
32 } 32 }
33 33
34 TEST_F(WorkerTest, MultipleWorkers) { 34 TEST_F(WorkerTest, MultipleWorkers) {
35 RunTest(L"multi_worker.html"); 35 RunTest(L"multi_worker.html");
36 } 36 }
37 37
38 TEST_F(WorkerTest, WorkerFastLayoutTests) { 38 TEST_F(WorkerTest, DISABLED_WorkerFastLayoutTests) {
39 static const char* kLayoutTestFiles[] = { 39 static const char* kLayoutTestFiles[] = {
40 "stress-js-execution.html", 40 "stress-js-execution.html",
41 #if defined(OS_WIN) 41 #if defined(OS_WIN)
42 // Workers don't properly initialize the V8 stack guard. 42 // Workers don't properly initialize the V8 stack guard.
43 // (http://code.google.com/p/chromium/issues/detail?id=21653). 43 // (http://code.google.com/p/chromium/issues/detail?id=21653).
44 "use-machine-stack.html", 44 "use-machine-stack.html",
45 #endif 45 #endif
46 "worker-call.html", 46 "worker-call.html",
47 // Disabled because cloning ports are too slow in Chromium to meet the 47 // Disabled because cloning ports are too slow in Chromium to meet the
48 // thresholds in this test. 48 // thresholds in this test.
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 UITest::GetBrowserProcessCount()); 220 UITest::GetBrowserProcessCount());
221 221
222 // Now close the first tab and check that the queued workers were started. 222 // Now close the first tab and check that the queued workers were started.
223 tab->Close(true); 223 tab->Close(true);
224 tab->NavigateToURL(GetTestUrl(L"google", L"google.html")); 224 tab->NavigateToURL(GetTestUrl(L"google", L"google.html"));
225 225
226 EXPECT_EQ(total_workers + 1 + (UITest::in_process_renderer() ? 0 : tab_count), 226 EXPECT_EQ(total_workers + 1 + (UITest::in_process_renderer() ? 0 : tab_count),
227 UITest::GetBrowserProcessCount()); 227 UITest::GetBrowserProcessCount());
228 } 228 }
229 #endif 229 #endif
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