OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 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 CHROME_BROWSER_UI_WEBUI_BIDICHECKERWEBUITEST_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_BIDICHECKERWEBUITEST_H_ | |
7 #pragma once | |
8 | |
9 #include "chrome/browser/ui/webui/web_ui_browsertest.h" | |
10 #include "chrome/test/base/in_process_browser_test.h" | |
11 | |
12 // Base class for BidiChecker-based tests. Preloads the BidiChecker JS library | |
13 // for each test. | |
14 class WebUIBidiCheckerBrowserTest : public WebUIBrowserTest { | |
15 public: | |
16 virtual ~WebUIBidiCheckerBrowserTest(); | |
17 | |
18 // Runs the Bidi Checker on the given page URL. |isRTL| should be true when | |
19 // the active page locale of the page is RTL. | |
20 void RunBidiCheckerOnPage(const char pageURL[], bool isRTL); | |
21 | |
22 protected: | |
23 WebUIBidiCheckerBrowserTest(); | |
24 | |
25 // Setup test path. | |
26 virtual void SetUpInProcessBrowserTestFixture(); | |
27 }; | |
28 | |
29 #endif // CHROME_BROWSER_UI_WEBUI_BIDICHECKERWEBUITEST_H_ | |
OLD | NEW |