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

Side by Side Diff: chrome/test/reliability/page_load_test.cc

Issue 6976055: More POSIX support for Chromium, consisting mostly of broadening ifdefs. This (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 | « chrome/test/plugin/pdf_browsertest.cc ('k') | chrome/test/startup/feature_startup_test.cc » ('j') | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This file provides reliablity test which runs under UI test framework. The 5 // This file provides reliablity test which runs under UI test framework. The
6 // test is intended to run within QEMU environment. 6 // test is intended to run within QEMU environment.
7 // 7 //
8 // Usage 1: reliability_test 8 // Usage 1: reliability_test
9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly 9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly
10 // used by buildbot, to verify reliability_test itself runs ok. 10 // used by buildbot, to verify reliability_test itself runs ok.
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 test_log.open(g_test_log_path.value().c_str()); 186 test_log.open(g_test_log_path.value().c_str());
187 187
188 // Get the version of Chrome we're running. 188 // Get the version of Chrome we're running.
189 std::string last_change; 189 std::string last_change;
190 #if defined(OS_WIN) 190 #if defined(OS_WIN)
191 // Check file version info for chrome dll. 191 // Check file version info for chrome dll.
192 scoped_ptr<FileVersionInfo> file_info; 192 scoped_ptr<FileVersionInfo> file_info;
193 file_info.reset( 193 file_info.reset(
194 FileVersionInfo::CreateFileVersionInfo(FilePath(kChromeDll))); 194 FileVersionInfo::CreateFileVersionInfo(FilePath(kChromeDll)));
195 last_change = WideToASCII(file_info->last_change()); 195 last_change = WideToASCII(file_info->last_change());
196 #elif defined(OS_LINUX) || defined(OS_MACOSX) 196 #elif defined(OS_POSIX)
197 // TODO(fmeawad): On Mac, the version retrieved here belongs to the test 197 // TODO(fmeawad): On Mac, the version retrieved here belongs to the test
198 // module and not the chrome binary, need to be changed to chrome binary 198 // module and not the chrome binary, need to be changed to chrome binary
199 // instead. 199 // instead.
200 chrome::VersionInfo version_info; 200 chrome::VersionInfo version_info;
201 last_change = version_info.LastChange(); 201 last_change = version_info.LastChange();
202 #endif // !defined(OS_WIN) 202 #endif // !defined(OS_WIN)
203 test_log << "Last Change: "; 203 test_log << "Last Change: ";
204 test_log << last_change << std::endl; 204 test_log << last_change << std::endl;
205 205
206 // Log timestamp for test start. 206 // Log timestamp for test start.
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 } 820 }
821 } 821 }
822 822
823 if (parsed_command_line.HasSwitch(kStressOptSwitch)) { 823 if (parsed_command_line.HasSwitch(kStressOptSwitch)) {
824 g_stress_opt = true; 824 g_stress_opt = true;
825 } 825 }
826 if (parsed_command_line.HasSwitch(kStressDeoptSwitch)) { 826 if (parsed_command_line.HasSwitch(kStressDeoptSwitch)) {
827 g_stress_deopt = true; 827 g_stress_deopt = true;
828 } 828 }
829 } 829 }
OLDNEW
« no previous file with comments | « chrome/test/plugin/pdf_browsertest.cc ('k') | chrome/test/startup/feature_startup_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698