| Index: tests/SerializationTest.cpp
|
| diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp
|
| index f806c4a5ccc4653eee16b66560cb3e8ef12258d1..a6be1889a560bbbb58725e567b8823ee0c375196 100644
|
| --- a/tests/SerializationTest.cpp
|
| +++ b/tests/SerializationTest.cpp
|
| @@ -608,6 +608,17 @@ DEF_TEST(Serialization, reporter) {
|
| fLights);
|
| SkAutoTUnref<SkShader>(TestFlattenableSerialization(lightingShader.get(), true, reporter));
|
| }
|
| +
|
| + // Test NormalBevelSource serialization
|
| + {
|
| + sk_sp<SkNormalSource> bevelSource = SkNormalSource::MakeBevel(
|
| + SkNormalSource::BevelType::kLinear, 2.0f, 5.0f);
|
| +
|
| + SkAutoTUnref<SkNormalSource>(TestFlattenableSerialization(bevelSource.get(), true,
|
| + reporter));
|
| + // TODO test equality?
|
| +
|
| + }
|
| }
|
|
|
| ///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|