From 25046bd5dcd9b458b8e445eb76bc67e91088a7ad Mon Sep 17 00:00:00 2001 From: KOUSHIK PANUGANTI Date: Tue, 18 Dec 2018 14:10:55 -0800 Subject: [PATCH] Migrate frameworks/base/packages/PrintSpooler/tests/outofprocess to androidx.test See go/jetpack-test-android-migration Test: make checkbuild Change-Id: I40cc079c663e22a32adc7b7a519d11d8f85a7880 --- packages/PrintSpooler/tests/outofprocess/Android.bp | 2 +- packages/PrintSpooler/tests/outofprocess/AndroidManifest.xml | 2 +- packages/PrintSpooler/tests/outofprocess/AndroidTest.xml | 2 +- .../android/printspooler/outofprocess/tests/WorkflowTest.java | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/PrintSpooler/tests/outofprocess/Android.bp b/packages/PrintSpooler/tests/outofprocess/Android.bp index e88074ee4b9c9..c6dc26370ebcf 100644 --- a/packages/PrintSpooler/tests/outofprocess/Android.bp +++ b/packages/PrintSpooler/tests/outofprocess/Android.bp @@ -19,7 +19,7 @@ android_test { libs: ["android.test.runner.stubs"], static_libs: [ - "android-support-test", + "androidx.test.rules", "ub-uiautomator", "mockito-target-minus-junit4", "print-test-util-lib", diff --git a/packages/PrintSpooler/tests/outofprocess/AndroidManifest.xml b/packages/PrintSpooler/tests/outofprocess/AndroidManifest.xml index 307cc936a5671..fdcaa52be0863 100644 --- a/packages/PrintSpooler/tests/outofprocess/AndroidManifest.xml +++ b/packages/PrintSpooler/tests/outofprocess/AndroidManifest.xml @@ -54,7 +54,7 @@ - diff --git a/packages/PrintSpooler/tests/outofprocess/AndroidTest.xml b/packages/PrintSpooler/tests/outofprocess/AndroidTest.xml index d21a2e49c6348..b649e82d10bc2 100644 --- a/packages/PrintSpooler/tests/outofprocess/AndroidTest.xml +++ b/packages/PrintSpooler/tests/outofprocess/AndroidTest.xml @@ -24,7 +24,7 @@ diff --git a/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/WorkflowTest.java b/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/WorkflowTest.java index 7ebf93d8f4ed7..61c2f54a2bf9d 100644 --- a/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/WorkflowTest.java +++ b/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/WorkflowTest.java @@ -35,7 +35,6 @@ import android.print.test.services.AddPrintersActivity; import android.print.test.services.FirstPrintService; import android.print.test.services.PrinterDiscoverySessionCallbacks; import android.print.test.services.StubbablePrinterDiscoverySession; -import android.support.test.filters.LargeTest; import android.support.test.uiautomator.By; import android.support.test.uiautomator.UiObject; import android.support.test.uiautomator.UiObjectNotFoundException; @@ -43,6 +42,8 @@ import android.support.test.uiautomator.UiSelector; import android.support.test.uiautomator.Until; import android.util.Log; +import androidx.test.filters.LargeTest; + import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized;