summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/ui_test_suite.h
blob: 6354d5fa4b6d1d1932ee47f9da9261500f87dccb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_TEST_UI_UI_TEST_SUITE_H_
#define CHROME_TEST_UI_UI_TEST_SUITE_H_

#include "base/process.h"
#include "chrome/test/ui/ui_test.h"
#include "chrome/test/unit/chrome_test_suite.h"

class UITestSuite : public ChromeTestSuite {
 public:
  UITestSuite(int argc, char** argv);

 protected:
  virtual void Initialize();

  virtual void Shutdown();

  virtual void SuppressErrorDialogs();

 private:
#if defined(OS_WIN)
  void LoadCrashService();

  base::ProcessHandle crash_service_;
#endif

  static const char kUseExistingBrowser[];
  static const char kTestTimeout[];
  static const char kBatchCount[];
  static const char kBatchIndex[];
  static const char kGTestTotalShards[];
  static const char kGTestShardIndex[];
};

#endif  // CHROME_TEST_UI_UI_TEST_SUITE_H_