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

Side by Side Diff: chrome/test/ui/ui_test.h

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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 #ifndef CHROME_TEST_UI_UI_TEST_H_ 5 #ifndef CHROME_TEST_UI_UI_TEST_H_
6 #define CHROME_TEST_UI_UI_TEST_H_ 6 #define CHROME_TEST_UI_UI_TEST_H_
7 7
8 // This file provides a common base for running UI unit tests, which operate 8 // This file provides a common base for running UI unit tests, which operate
9 // the entire browser application in a separate process for holistic 9 // the entire browser application in a separate process for holistic
10 // functional testing. 10 // functional testing.
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 std::wstring test_data_directory_; // Path to the unit test data, 346 std::wstring test_data_directory_; // Path to the unit test data,
347 // with no trailing slash 347 // with no trailing slash
348 std::wstring launch_arguments_; // Arguments to the browser on launch. 348 std::wstring launch_arguments_; // Arguments to the browser on launch.
349 int expected_errors_; // The number of errors expected during 349 int expected_errors_; // The number of errors expected during
350 // the run (generally 0). 350 // the run (generally 0).
351 int expected_crashes_; // The number of crashes expected during 351 int expected_crashes_; // The number of crashes expected during
352 // the run (generally 0). 352 // the run (generally 0).
353 std::wstring homepage_; // Homepage used for testing. 353 std::wstring homepage_; // Homepage used for testing.
354 bool wait_for_initial_loads_; // Wait for initial loads to complete 354 bool wait_for_initial_loads_; // Wait for initial loads to complete
355 // in SetUp() before running test body. 355 // in SetUp() before running test body.
356 TimeTicks browser_launch_time_; // Time when the browser was run. 356 base::TimeTicks browser_launch_time_; // Time when the browser was run.
357 bool dom_automation_enabled_; // This can be set to true to have the 357 bool dom_automation_enabled_; // This can be set to true to have the
358 // test run the dom automation case. 358 // test run the dom automation case.
359 std::wstring template_user_data_; // See set_template_user_data(). 359 std::wstring template_user_data_; // See set_template_user_data().
360 HANDLE process_; // Handle the the first Chrome process. 360 HANDLE process_; // Handle the the first Chrome process.
361 std::wstring user_data_dir_; // User data directory used for the test 361 std::wstring user_data_dir_; // User data directory used for the test
362 static bool in_process_renderer_; // true if we're in single process mode 362 static bool in_process_renderer_; // true if we're in single process mode
363 bool show_window_; // Determines if the window is shown or 363 bool show_window_; // Determines if the window is shown or
364 // hidden. Defaults to hidden. 364 // hidden. Defaults to hidden.
365 bool clear_profile_; // If true the profile is cleared before 365 bool clear_profile_; // If true the profile is cleared before
366 // launching. Default is true. 366 // launching. Default is true.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 #ifdef UNIT_TEST 400 #ifdef UNIT_TEST
401 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr); 401 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr);
402 402
403 template<typename T> 403 template<typename T>
404 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) { 404 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) {
405 return out << ptr.get(); 405 return out << ptr.get();
406 } 406 }
407 #endif // UNIT_TEST 407 #endif // UNIT_TEST
408 408
409 #endif // CHROME_TEST_UI_UI_TEST_H_ 409 #endif // CHROME_TEST_UI_UI_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698