• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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:
TestBrowserFont(TestingInstance * instance)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();
21   std::string TestMeasureRTL();
22   std::string TestCharPos();
23   std::string TestCharPosRTL();
24   std::string TestDraw();
25 };
26 
27 #endif  // PPAPI_TESTS_TEST_BROWSER_FONT_H_
28