1 // Copyright (c) 2013 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.
5 #ifndef PAPPI_TESTS_TEST_TRUETYPE_FONT_H_
6 #define PAPPI_TESTS_TEST_TRUETYPE_FONT_H_
10 #include "ppapi/c/dev/ppb_truetype_font_dev.h"
11 #include "ppapi/c/ppb_core.h"
12 #include "ppapi/c/ppb_var.h"
13 #include "ppapi/tests/test_case.h"
15 class TestTrueTypeFont
: public TestCase
{
17 explicit TestTrueTypeFont(TestingInstance
* instance
);
18 virtual ~TestTrueTypeFont();
21 // TestCase implementation.
23 virtual void RunTests(const std::string
& filter
);
25 std::string
TestGetFontFamilies();
26 std::string
TestGetFontsInFamily();
27 std::string
TestCreate();
28 std::string
TestDescribe();
29 std::string
TestGetTableTags();
30 std::string
TestGetTable();
32 const PPB_TrueTypeFont_Dev
* ppb_truetype_font_interface_
;
33 const PPB_Core
* ppb_core_interface_
;
34 const PPB_Var
* ppb_var_interface_
;
37 #endif // PAPPI_TESTS_TEST_TRUETYPE_FONT_H_