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