summaryrefslogtreecommitdiff
path: root/animationlib/tests/robolectric/src/com/android/app/animation/robolectric/ShadowAnimationUtils2.kt
diff options
context:
space:
mode:
Diffstat (limited to 'animationlib/tests/robolectric/src/com/android/app/animation/robolectric/ShadowAnimationUtils2.kt')
-rw-r--r--animationlib/tests/robolectric/src/com/android/app/animation/robolectric/ShadowAnimationUtils2.kt12
1 files changed, 12 insertions, 0 deletions
diff --git a/animationlib/tests/robolectric/src/com/android/app/animation/robolectric/ShadowAnimationUtils2.kt b/animationlib/tests/robolectric/src/com/android/app/animation/robolectric/ShadowAnimationUtils2.kt
new file mode 100644
index 0000000..c3e74ee
--- /dev/null
+++ b/animationlib/tests/robolectric/src/com/android/app/animation/robolectric/ShadowAnimationUtils2.kt
@@ -0,0 +1,12 @@
+package com.android.app.animation.robolectric
+
+import android.view.animation.AnimationUtils
+import org.robolectric.annotation.Implements
+import org.robolectric.shadows.ShadowAnimationUtils
+
+/**
+ * This shadow overwrites [ShadowAnimationUtils] and ensures that the real implementation of
+ * [AnimationUtils] is used in tests.
+ */
+@Implements(AnimationUtils::class)
+class ShadowAnimationUtils2