Index: tests/SerializationTest.cpp |
diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp |
index f806c4a5ccc4653eee16b66560cb3e8ef12258d1..920df2b994d8ae9573712dea6fac42af1563417c 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, |
robertphillips
2016/07/13 14:39:02
line this guy up ?
dvonbeck
2016/07/13 16:09:17
Done.
|
+ reporter)); |
+ // TODO test equality? |
dvonbeck
2016/07/13 16:09:17
@robertphillips I know we talked about the compari
|
+ |
+ } |
} |
/////////////////////////////////////////////////////////////////////////////////////////////////// |