OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 #include "Test.h" | 8 #include "Test.h" |
9 #include "SkPaint.h" | 9 #include "SkPaint.h" |
10 #include "SkUtils.h" | 10 #include "SkUtils.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_
t))); | 76 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs16, count8 * sizeof(uint16_
t))); |
77 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_
t))); | 77 REPORTER_ASSERT(reporter, !memcmp(glyphs8, glyphs32, count8 * sizeof(uint16_
t))); |
78 } | 78 } |
79 | 79 |
80 static void TestUnicode(skiatest::Reporter* reporter) { | 80 static void TestUnicode(skiatest::Reporter* reporter) { |
81 test_uvs(reporter); | 81 test_uvs(reporter); |
82 test_textencodings(reporter); | 82 test_textencodings(reporter); |
83 } | 83 } |
84 | 84 |
85 #include "TestClassDef.h" | 85 #include "TestClassDef.h" |
86 DEFINE_TESTCLASS("Unicode", TestUnicodeClass, TestUnicode) | 86 DEFINE_TESTCLASS_SHORT(TestUnicode) |
OLD | NEW |