OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ |
7 | 7 |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "chrome/test/base/web_ui_browser_test.h" | 9 #include "chrome/test/base/web_ui_browser_test.h" |
10 | 10 |
11 namespace base { | |
12 class WaitableEvent; | |
13 } | |
14 | |
15 // Base class for BidiChecker-based tests. Preloads the BidiChecker JS library | 11 // Base class for BidiChecker-based tests. Preloads the BidiChecker JS library |
16 // for each test. | 12 // for each test. |
17 class WebUIBidiCheckerBrowserTest : public WebUIBrowserTest { | 13 class WebUIBidiCheckerBrowserTest : public WebUIBrowserTest { |
18 public: | 14 public: |
19 ~WebUIBidiCheckerBrowserTest() override; | 15 ~WebUIBidiCheckerBrowserTest() override; |
20 | 16 |
21 // testing::Test implementation. | 17 // testing::Test implementation. |
22 void SetUp() override; | 18 void SetUp() override; |
23 void TearDown() override; | 19 void TearDown() override; |
24 | 20 |
(...skipping 29 matching lines...) Expand all Loading... |
54 | 50 |
55 protected: | 51 protected: |
56 void SetUpOnMainThread() override; | 52 void SetUpOnMainThread() override; |
57 void TearDownOnMainThread() override; | 53 void TearDownOnMainThread() override; |
58 | 54 |
59 // The app locale before we change it | 55 // The app locale before we change it |
60 std::string app_locale_; | 56 std::string app_locale_; |
61 }; | 57 }; |
62 | 58 |
63 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ | 59 #endif // CHROME_BROWSER_UI_WEBUI_BIDI_CHECKER_WEB_UI_TEST_H_ |
OLD | NEW |