summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnna Zhuravleva <azhura@google.com>2023-09-27 09:59:19 +0000
committerAnna Zhuravleva <azhura@google.com>2023-09-27 10:01:03 +0000
commit4e234630aa14962e778ce8fe1b8e5ea59a4305ee (patch)
tree30c677f7caa5354b68e04ccadd3e79c3122dd9ca /tests
parent82cbc5f955aa4ea73fb7de868ddb24dada1a7698 (diff)
downloadKeyChain-4e234630aa14962e778ce8fe1b8e5ea59a4305ee.tar.gz
Use androidx LargeTest annotation for device tests.
Platform_testing large test annotation is for host side tests and restricted, device tests should use androidx annotation. Bug: 293837621 Test: presubmit Change-Id: I87a1e2961f6737d107687d130e87324d3649c71b
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/keychain/tests/BasicKeyChainServiceTest.java2
-rw-r--r--tests/src/com/android/keychain/tests/KeyChainActivityTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/keychain/tests/BasicKeyChainServiceTest.java b/tests/src/com/android/keychain/tests/BasicKeyChainServiceTest.java
index f3f20db..6be68c0 100644
--- a/tests/src/com/android/keychain/tests/BasicKeyChainServiceTest.java
+++ b/tests/src/com/android/keychain/tests/BasicKeyChainServiceTest.java
@@ -30,7 +30,6 @@ import android.os.ConditionVariable;
import android.os.IBinder;
import android.os.Process;
import android.os.RemoteException;
-import android.platform.test.annotations.LargeTest;
import android.security.Credentials;
import android.security.IKeyChainService;
import android.security.KeyChain;
@@ -40,6 +39,7 @@ import android.security.keystore.ParcelableKeyGenParameterSpec;
import android.util.Base64;
import android.util.Log;
import androidx.test.InstrumentationRegistry;
+import androidx.test.filters.LargeTest;
import androidx.test.runner.AndroidJUnit4;
import com.android.keychain.tests.support.IKeyChainServiceTestSupport;
import java.io.IOException;
diff --git a/tests/src/com/android/keychain/tests/KeyChainActivityTest.java b/tests/src/com/android/keychain/tests/KeyChainActivityTest.java
index f3a2bb5..6eb39b7 100644
--- a/tests/src/com/android/keychain/tests/KeyChainActivityTest.java
+++ b/tests/src/com/android/keychain/tests/KeyChainActivityTest.java
@@ -22,9 +22,9 @@ import static com.google.common.truth.Truth.assertThat;
import static org.junit.Assert.fail;
-import android.platform.test.annotations.LargeTest;
import android.util.Base64;
+import androidx.test.filters.LargeTest;
import androidx.test.runner.AndroidJUnit4;
import org.junit.After;