1 /*
2 * Copyright 2024 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7 #include "include/ports/SkFontScanner_Fontations.h"
8 #include "src/core/SkWriteBuffer.h"
9 #include "tests/FontScanner.h"
10 #include "tests/Test.h"
11 #include "tools/fonts/FontToolUtils.h"
12
DEF_TEST(FontScanner_Fontations_VariableFont,reporter)13 DEF_TEST(FontScanner_Fontations_VariableFont, reporter) {
14 FontScanner_VariableFont(reporter, SkFontScanner_Make_Fontations().get());
15 }
16
DEF_TEST(FontScanner_Fontations_NamedInstances1,reporter)17 DEF_TEST(FontScanner_Fontations_NamedInstances1, reporter) {
18 FontScanner_NamedInstances1(reporter, SkFontScanner_Make_Fontations().get());
19 }
20
DEF_TEST(FontScanner_Fontations_NamedInstances2,reporter)21 DEF_TEST(FontScanner_Fontations_NamedInstances2, reporter) {
22 FontScanner_NamedInstances2(reporter, SkFontScanner_Make_Fontations().get());
23 }
24
DEF_TEST(FontScanner_Fontations_FontCollection,reporter)25 DEF_TEST(FontScanner_Fontations_FontCollection, reporter) {
26 FontScanner_FontCollection(reporter, SkFontScanner_Make_Fontations().get());
27 }
28