summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fangqiu Su <fangqiu@google.com> 2023-12-19 18:14:39 +0000
committer Fangqiu Su <fangqiu@google.com> 2023-12-19 18:14:39 +0000
commit70298bd2c9783f211ab2fe480409579ff2790293 (patch)
treef393a1b13d958f2c6508a411e2cbb525d030cae8
parent8124c112df7e873921183d0b20a34e70069fdc54 (diff)
Update the imports to androidx.test.filters.*
Bug: 316941721 Test: mmma . Change-Id: Ide1f15e0d9feaa239245ccf8c6634b2c94a9748c
-rw-r--r--media/lib/tvremote/tests/Android.bp1
-rw-r--r--media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/TvRemoteProviderTest.java3
2 files changed, 3 insertions, 1 deletions
diff --git a/media/lib/tvremote/tests/Android.bp b/media/lib/tvremote/tests/Android.bp
index f02cfc393c81..280c515e9a9e 100644
--- a/media/lib/tvremote/tests/Android.bp
+++ b/media/lib/tvremote/tests/Android.bp
@@ -17,6 +17,7 @@ android_test {
],
static_libs: [
"mockito-target-minus-junit4",
+ "androidx.test.rules",
],
platform_apis: true,
certificate: "platform",
diff --git a/media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/TvRemoteProviderTest.java b/media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/TvRemoteProviderTest.java
index e6e39390962e..3b38a4621389 100644
--- a/media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/TvRemoteProviderTest.java
+++ b/media/lib/tvremote/tests/src/com/android/media/tv/remoteprovider/TvRemoteProviderTest.java
@@ -29,7 +29,8 @@ import android.media.tv.ITvRemoteServiceInput;
import android.os.Binder;
import android.os.IBinder;
import android.test.AndroidTestCase;
-import android.test.suitebuilder.annotation.SmallTest;
+
+import androidx.test.filters.SmallTest;
import java.util.ArrayList;