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

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

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