Make castv2 performance test work.
[chromium-blink-merge.git] / ppapi / tests / test_truetype_font.h
blob70ed8f996a1650399613e8dfc184d91bfe667b10
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_
8 #include <string>
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 {
16 public:
17 explicit TestTrueTypeFont(TestingInstance* instance);
18 virtual ~TestTrueTypeFont();
20 private:
21 // TestCase implementation.
22 virtual bool Init();
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_