blob: 7e30adf3baa4ede7dc8a420d01bbac14b6fd720b (
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
39
40
41
42
|
// Copyright (c) 2011 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_BASE_CHROME_TEST_SUITE_H_
#define CHROME_TEST_BASE_CHROME_TEST_SUITE_H_
#pragma once
#include <string>
#include "base/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "base/test/test_suite.h"
#include "chrome/app/scoped_ole_initializer.h"
namespace base {
class StatsTable;
}
class ChromeTestSuite : public base::TestSuite {
public:
ChromeTestSuite(int argc, char** argv);
virtual ~ChromeTestSuite();
protected:
virtual void Initialize() OVERRIDE;
virtual void Shutdown() OVERRIDE;
void SetBrowserDirectory(const FilePath& browser_dir) {
browser_dir_ = browser_dir;
}
// Alternative path to browser binaries.
FilePath browser_dir_;
std::string stats_filename_;
scoped_ptr<base::StatsTable> stats_table_;
ScopedOleInitializer ole_initializer_;
};
#endif // CHROME_TEST_BASE_CHROME_TEST_SUITE_H_
|