OLD | NEW |
| (Empty) |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_SHELL_SHELL_TEST_CONFIGURATION_H_ | |
6 #define CONTENT_SHELL_SHELL_TEST_CONFIGURATION_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/files/file_path.h" | |
11 #include "googleurl/src/gurl.h" | |
12 | |
13 namespace content { | |
14 | |
15 struct ShellTestConfiguration { | |
16 ShellTestConfiguration(); | |
17 ~ShellTestConfiguration(); | |
18 | |
19 // The current working directory. | |
20 base::FilePath current_working_directory; | |
21 | |
22 // The temporary directory of the system. | |
23 base::FilePath temp_path; | |
24 | |
25 // The URL of the current layout test. | |
26 GURL test_url; | |
27 | |
28 // True if pixel tests are enabled. | |
29 bool enable_pixel_dumping; | |
30 | |
31 // The layout test timeout in milliseconds. | |
32 int layout_test_timeout; | |
33 | |
34 // True if tests can open external URLs | |
35 bool allow_external_pages; | |
36 | |
37 // The expected MD5 hash of the pixel results. | |
38 std::string expected_pixel_hash; | |
39 }; | |
40 | |
41 } // namespace content | |
42 | |
43 #endif // CONTENT_SHELL_SHELL_TEST_CONFIGURATION_H_ | |
OLD | NEW |