OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2012 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 #include "base/file_path.h" |
| 6 #include "base/scoped_temp_dir.h" |
| 7 #include "chrome/test/base/in_process_browser_test.h" |
| 8 |
| 9 class InProcessBrowserLayoutTest : public InProcessBrowserTest { |
| 10 public: |
| 11 explicit InProcessBrowserLayoutTest(const FilePath relative_layout_test_path); |
| 12 virtual ~InProcessBrowserLayoutTest(); |
| 13 |
| 14 virtual void SetUpInProcessBrowserTestFixture() OVERRIDE; |
| 15 void RunLayoutTest(const std::string& test_case_file_name); |
| 16 void AddResourceForLayoutTest(const FilePath& parent_dir, |
| 17 const FilePath& resource_name); |
| 18 |
| 19 private: |
| 20 void WriteModifiedFile(const std::string& test_case_file_name, |
| 21 GURL* test_url); |
| 22 |
| 23 FilePath our_original_layout_test_dir_; |
| 24 FilePath original_relative_path_; |
| 25 FilePath our_layout_test_temp_dir_; |
| 26 ScopedTempDir scoped_temp_dir_; |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(InProcessBrowserLayoutTest); |
| 29 }; |
OLD | NEW |