Fixed test
diff --git a/sample/src/androidTest/java/com/airbnb/lottie/samples/LottieTest.kt b/sample/src/androidTest/java/com/airbnb/lottie/samples/LottieTest.kt
index 92239d6..af2c9fc 100644
--- a/sample/src/androidTest/java/com/airbnb/lottie/samples/LottieTest.kt
+++ b/sample/src/androidTest/java/com/airbnb/lottie/samples/LottieTest.kt
@@ -729,12 +729,26 @@
assetName = "Tests/AnimatedShadow.json")
testDynamicProperty(
- "Drop Shadow Distance",
+ "Drop Shadow Direction",
KeyPath("Shape Layer 1", "**"),
LottieProperty.DROP_SHADOW_DIRECTION,
LottieValueCallback(30f),
assetName = "Tests/AnimatedShadow.json")
+ testDynamicProperty(
+ "Drop Shadow Radius",
+ KeyPath("Shape Layer 1", "**"),
+ LottieProperty.DROP_SHADOW_RADIUS,
+ LottieValueCallback(40f),
+ assetName = "Tests/AnimatedShadow.json")
+
+ testDynamicProperty(
+ "Drop Shadow Opacity",
+ KeyPath("Shape Layer 1", "**"),
+ LottieProperty.DROP_SHADOW_OPACITY,
+ LottieValueCallback(0.2f),
+ assetName = "Tests/AnimatedShadow.json")
+
withDrawable("Tests/DynamicGradient.json", "Gradient Colors", "Linear Gradient Fill") { drawable ->
val value = object : LottieValueCallback<Array<Int>>() {
override fun getValue(frameInfo: LottieFrameInfo<Array<Int>>?): Array<Int> {