blob: c166212b93aaaefd785ce53a5603f49c0fca2f62 [file] [log] [blame]
[email protected]7a26d92e2012-02-17 20:15:251// 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
10class 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]9c5cf9b52012-06-28 00:31:5221 std::string TestMeasureRTL();
[email protected]7a26d92e2012-02-17 20:15:2522 std::string TestCharPos();
[email protected]9c5cf9b52012-06-28 00:31:5223 std::string TestCharPosRTL();
[email protected]7a26d92e2012-02-17 20:15:2524 std::string TestDraw();
25};
26
27#endif // PPAPI_TESTS_TEST_BROWSER_FONT_H_