[email protected] | 7a26d92e | 2012-02-17 20:15:25 | [diff] [blame] | 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 | #ifndef PPAPI_TESTS_TEST_BROWSER_FONT_H_ | ||||
6 | #define PPAPI_TESTS_TEST_BROWSER_FONT_H_ | ||||
7 | |||||
8 | #include "ppapi/tests/test_case.h" | ||||
9 | |||||
10 | class TestBrowserFont : public TestCase { | ||||
11 | public: | ||||
12 | TestBrowserFont(TestingInstance* instance) : TestCase(instance) {} | ||||
13 | |||||
14 | // TestCase implementation. | ||||
15 | virtual bool Init(); | ||||
16 | virtual void RunTests(const std::string& filter); | ||||
17 | |||||
18 | private: | ||||
19 | std::string TestFontFamilies(); | ||||
20 | std::string TestMeasure(); | ||||
[email protected] | 9c5cf9b5 | 2012-06-28 00:31:52 | [diff] [blame] | 21 | std::string TestMeasureRTL(); |
[email protected] | 7a26d92e | 2012-02-17 20:15:25 | [diff] [blame] | 22 | std::string TestCharPos(); |
[email protected] | 9c5cf9b5 | 2012-06-28 00:31:52 | [diff] [blame] | 23 | std::string TestCharPosRTL(); |
[email protected] | 7a26d92e | 2012-02-17 20:15:25 | [diff] [blame] | 24 | std::string TestDraw(); |
25 | }; | ||||
26 | |||||
27 | #endif // PPAPI_TESTS_TEST_BROWSER_FONT_H_ |