Move to androidx.test for tests.

We have been using jetified version of android.support.test. Move to
androidx.test that have started shipping to external devs.

Test: ran all appcompat tests and they all pass.
Change-Id: I58a5fac20e2d0728caa334981909a3e372c9032a
diff --git a/dynamic-animation/build.gradle b/dynamic-animation/build.gradle
index 6da13e0..0f8fca9 100644
--- a/dynamic-animation/build.gradle
+++ b/dynamic-animation/build.gradle
@@ -11,8 +11,9 @@
     api(project(":collection"))
     api(project(":legacy-support-core-utils"))
 
-    androidTestImplementation(TEST_RUNNER_TMP, libs.exclude_for_espresso)
-    androidTestImplementation(ESPRESSO_CORE_TMP, libs.exclude_for_espresso)
+    androidTestImplementation(TEST_RUNNER)
+    androidTestImplementation(TEST_RULES)
+    androidTestImplementation(ESPRESSO_CORE, libs.exclude_for_espresso)
     androidTestImplementation(MOCKITO_CORE, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
     androidTestImplementation(DEXMAKER_MOCKITO, libs.exclude_bytebuddy) // DexMaker has it"s own MockMaker
 }