| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SUITE_H_ | 5 #ifndef CHROME_TEST_UI_UI_TEST_SUITE_H_ |
| 6 #define CHROME_TEST_UI_UI_TEST_SUITE_H_ | 6 #define CHROME_TEST_UI_UI_TEST_SUITE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/process.h" | 9 #include "base/process.h" |
| 10 #include "chrome/test/base/chrome_test_suite.h" |
| 10 #include "chrome/test/ui/ui_test.h" | 11 #include "chrome/test/ui/ui_test.h" |
| 11 #include "chrome/test/unit/chrome_test_suite.h" | |
| 12 | 12 |
| 13 class UITestSuite : public ChromeTestSuite { | 13 class UITestSuite : public ChromeTestSuite { |
| 14 public: | 14 public: |
| 15 UITestSuite(int argc, char** argv); | 15 UITestSuite(int argc, char** argv); |
| 16 | 16 |
| 17 protected: | 17 protected: |
| 18 virtual void Initialize(); | 18 virtual void Initialize(); |
| 19 | 19 |
| 20 virtual void Shutdown(); | 20 virtual void Shutdown(); |
| 21 | 21 |
| 22 virtual void SuppressErrorDialogs(); | 22 virtual void SuppressErrorDialogs(); |
| 23 | 23 |
| 24 private: | 24 private: |
| 25 #if defined(OS_WIN) | 25 #if defined(OS_WIN) |
| 26 void LoadCrashService(); | 26 void LoadCrashService(); |
| 27 | 27 |
| 28 base::ProcessHandle crash_service_; | 28 base::ProcessHandle crash_service_; |
| 29 #endif | 29 #endif |
| 30 | 30 |
| 31 static const char kUseExistingBrowser[]; | 31 static const char kUseExistingBrowser[]; |
| 32 static const char kTestTimeout[]; | 32 static const char kTestTimeout[]; |
| 33 static const char kBatchCount[]; | 33 static const char kBatchCount[]; |
| 34 static const char kBatchIndex[]; | 34 static const char kBatchIndex[]; |
| 35 static const char kGTestTotalShards[]; | 35 static const char kGTestTotalShards[]; |
| 36 static const char kGTestShardIndex[]; | 36 static const char kGTestShardIndex[]; |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 #endif // CHROME_TEST_UI_UI_TEST_SUITE_H_ | 39 #endif // CHROME_TEST_UI_UI_TEST_SUITE_H_ |
| OLD | NEW |