summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fangqiu Su <fangqiu@google.com> 2023-12-19 18:14:15 +0000
committer Fangqiu Su <fangqiu@google.com> 2024-02-28 18:14:50 +0000
commit5735fb18990efe37f17d88dfa304ea7e019bb25d (patch)
tree552920b4819148376e0887b9ad316a82e145cd53
parent50b9b17de41e54a22b50c4fc15754e14920cbcea (diff)
Update the imports to androidx.test.filters.*
Bug: 316941721 Test: mmma . Change-Id: Ic4816485e34526d5d77cc6fc2e1c9a03c62c8520
-rw-r--r--core/tests/systemproperties/Android.bp2
-rw-r--r--core/tests/systemproperties/src/android/os/SystemPropertiesTest.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/core/tests/systemproperties/Android.bp b/core/tests/systemproperties/Android.bp
index 21aa3c44044b..ed52cccfb9b9 100644
--- a/core/tests/systemproperties/Android.bp
+++ b/core/tests/systemproperties/Android.bp
@@ -14,9 +14,9 @@ android_test {
dxflags: ["--core-library"],
static_libs: [
"android-common",
- "frameworks-core-util-lib",
"androidx.test.rules",
"androidx.test.ext.junit",
+ "frameworks-core-util-lib",
"ravenwood-junit",
],
libs: [
diff --git a/core/tests/systemproperties/src/android/os/SystemPropertiesTest.java b/core/tests/systemproperties/src/android/os/SystemPropertiesTest.java
index ea65de088c07..d98120f535d8 100644
--- a/core/tests/systemproperties/src/android/os/SystemPropertiesTest.java
+++ b/core/tests/systemproperties/src/android/os/SystemPropertiesTest.java
@@ -24,7 +24,8 @@ import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import android.platform.test.ravenwood.RavenwoodRule;
-import android.test.suitebuilder.annotation.SmallTest;
+
+import androidx.test.filters.SmallTest;
import org.junit.Rule;
import org.junit.Test;