Chromium Code Reviews| Index: tests/SerializationTest.cpp |
| diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp |
| index 88f88fc2ac5bb524950ceb3677195d2bd663df8f..fbdf8cf82b9c9aae4416061b21c9d764eac682fe 100644 |
| --- a/tests/SerializationTest.cpp |
| +++ b/tests/SerializationTest.cpp |
| @@ -595,6 +595,17 @@ DEF_TEST(Serialization, reporter) { |
| // TODO test equality? |
| } |
| + |
| + // Test NormalBevelSource serialization |
| + { |
| + sk_sp<SkNormalSource> bevelSource = SkNormalSource::MakeBevel( |
| + SkNormalSource::BevelType::kLinear, 2.0f, 5.0f); |
| + |
| + SkAutoTUnref<SkNormalSource>(TestFlattenableSerialization(bevelSource.get(), true, |
| + reporter)); |
|
robertphillips
2016/07/11 19:13:21
Do we need to hard cast to a NormalBevelSourceImpl
dvonbeck
2016/07/13 14:23:38
Not that easy, because serializing/deserializing c
|
| + // TODO test equality? |
| + |
| + } |
| } |
| /////////////////////////////////////////////////////////////////////////////////////////////////// |