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

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

Issue 73084: Reverting 13748. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 8 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/automated_ui_tests/automated_ui_tests.cc ('k') | chrome/test/ui/ui_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) 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 bool clear_profile_; // If true the profile is cleared before 439 bool clear_profile_; // If true the profile is cleared before
440 // launching. Default is true. 440 // launching. Default is true.
441 bool include_testing_id_; // Should we supply the testing channel 441 bool include_testing_id_; // Should we supply the testing channel
442 // id on the command line? Default is 442 // id on the command line? Default is
443 // true. 443 // true.
444 bool use_existing_browser_; // Duplicate of the static version. 444 bool use_existing_browser_; // Duplicate of the static version.
445 // Default value comes from static. 445 // Default value comes from static.
446 bool enable_file_cookies_; // Enable file cookies, default is true. 446 bool enable_file_cookies_; // Enable file cookies, default is true.
447 447
448 private: 448 private:
449 base::Time test_start_time_; // Time the test was started 449 #if defined(OS_WIN)
450 // TODO(port): make this use base::Time instead. It would seem easy, but
451 // the code also depends on file_util::CountFilesCreatedAfter which hasn't
452 // yet been made portable.
453 FILETIME test_start_time_; // Time the test was started
450 // (so we can check for new crash dumps) 454 // (so we can check for new crash dumps)
455 #endif
451 static bool no_sandbox_; 456 static bool no_sandbox_;
452 static bool safe_plugins_; 457 static bool safe_plugins_;
453 static bool full_memory_dump_; // If true, write full memory dump 458 static bool full_memory_dump_; // If true, write full memory dump
454 // during crash. 459 // during crash.
455 static bool show_error_dialogs_; // If true, a user is paying attention 460 static bool show_error_dialogs_; // If true, a user is paying attention
456 // to the test, so show error dialogs. 461 // to the test, so show error dialogs.
457 static bool default_use_existing_browser_; // The test connects to an already 462 static bool default_use_existing_browser_; // The test connects to an already
458 // running browser instance. 463 // running browser instance.
459 static bool dump_histograms_on_exit_; // Include histograms in log on exit. 464 static bool dump_histograms_on_exit_; // Include histograms in log on exit.
460 static bool enable_dcheck_; // Enable dchecks in release mode. 465 static bool enable_dcheck_; // Enable dchecks in release mode.
(...skipping 22 matching lines...) Expand all
483 #ifdef UNIT_TEST 488 #ifdef UNIT_TEST
484 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr); 489 std::ostream& operator<<(std::ostream& out, const std::wstring& wstr);
485 490
486 template<typename T> 491 template<typename T>
487 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) { 492 std::ostream& operator<<(std::ostream& out, const ::scoped_ptr<T>& ptr) {
488 return out << ptr.get(); 493 return out << ptr.get();
489 } 494 }
490 #endif // UNIT_TEST 495 #endif // UNIT_TEST
491 496
492 #endif // CHROME_TEST_UI_UI_TEST_H_ 497 #endif // CHROME_TEST_UI_UI_TEST_H_
OLDNEW
« no previous file with comments | « chrome/test/automated_ui_tests/automated_ui_tests.cc ('k') | chrome/test/ui/ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698