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

Side by Side Diff: webkit/tools/test_shell/run_all_tests.cc

Issue 113043: Fix gconf for the linux proxy config service.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Run all of our test shell tests. This is just an entry point 5 // Run all of our test shell tests. This is just an entry point
6 // to kick off gTest's RUN_ALL_TESTS(). 6 // to kick off gTest's RUN_ALL_TESTS().
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 // Initialize test shell in layout test mode, which will let us load one 70 // Initialize test shell in layout test mode, which will let us load one
71 // request than automatically quit. 71 // request than automatically quit.
72 TestShell::InitializeTestShell(true); 72 TestShell::InitializeTestShell(true);
73 73
74 // Initialize WebKit for this scope. 74 // Initialize WebKit for this scope.
75 TestShellWebKitInit test_shell_webkit_init(true); 75 TestShellWebKitInit test_shell_webkit_init(true);
76 76
77 // Allocate a message loop for this thread. Although it is not used 77 // Allocate a message loop for this thread. Although it is not used
78 // directly, its constructor sets up some necessary state. 78 // directly, its constructor sets up some necessary state.
79 MessageLoop main_message_loop; 79 MessageLoopForUI main_message_loop;
80 80
81 // Load ICU data tables 81 // Load ICU data tables
82 icu_util::Initialize(); 82 icu_util::Initialize();
83 83
84 platform.InitializeGUI(); 84 platform.InitializeGUI();
85 platform.SelectUnifiedTheme(); 85 platform.SelectUnifiedTheme();
86 86
87 // Run the actual tests 87 // Run the actual tests
88 testing::InitGoogleTest(&argc, argv); 88 testing::InitGoogleTest(&argc, argv);
89 int result = RUN_ALL_TESTS(); 89 int result = RUN_ALL_TESTS();
90 90
91 TestShell::ShutdownTestShell(); 91 TestShell::ShutdownTestShell();
92 TestShell::CleanupLogging(); 92 TestShell::CleanupLogging();
93 93
94 CommandLine::Terminate(); 94 CommandLine::Terminate();
95 95
96 return result; 96 return result;
97 } 97 }
OLDNEW
« no previous file with comments | « net/url_request/url_request_unittest.h ('k') | webkit/tools/test_shell/test_shell_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698