Home | History | Annotate | Download | only in tests

Lines Matching refs:Reporter

35 static void test_unitsPerEm(skiatest::Reporter* reporter, SkTypeface* face) {
48 REPORTER_ASSERT(reporter, tableUPEM == nativeUPEM);
57 static void test_countGlyphs(skiatest::Reporter* reporter, SkTypeface* face) {
70 REPORTER_ASSERT(reporter, tableGlyphs == nativeGlyphs);
95 static void test_charsToGlyphs(skiatest::Reporter* reporter, SkTypeface* face) {
115 REPORTER_ASSERT_MESSAGE(reporter, paintGlyphIds[i] == faceGlyphIds[i], a.c_str());
120 static void test_fontstream(skiatest::Reporter* reporter,
126 REPORTER_ASSERT(reporter, n == n2);
141 REPORTER_ASSERT(reporter, gKnownTableSizes[j].fSize == size);
147 static void test_fontstream(skiatest::Reporter* reporter, SkStream* stream) {
153 test_fontstream(reporter, stream, i);
157 static void test_fontstream(skiatest::Reporter* reporter) {
168 test_fontstream(reporter, &stream);
174 static void test_tables(skiatest::Reporter* reporter, SkTypeface* face) {
177 REPORTER_ASSERT(reporter, fontID);
186 REPORTER_ASSERT(reporter, count2 == count);
190 REPORTER_ASSERT(reporter, size > 0);
204 REPORTER_ASSERT(reporter, gKnownTableSizes[j].fSize == size);
212 REPORTER_ASSERT(reporter, size2 == size);
217 static void test_tables(skiatest::Reporter* reporter) {
230 test_tables(reporter, face);
231 test_unitsPerEm(reporter, face);
232 test_countGlyphs(reporter, face);
233 test_charsToGlyphs(reporter, face);
242 static void test_advances(skiatest::Reporter* reporter) {
303 REPORTER_ASSERT(reporter, width1 == width2);
309 DEF_TEST(FontHost, reporter) {
310 test_tables(reporter);
311 test_fontstream(reporter);
312 test_advances(reporter);