Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5b3e4d94 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make internal printing tests compatible with helpers" into rvc-dev

parents c3721ac8 65bab93f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ android_test {
        ":BinderDeathRecipientHelperApp1",
        ":BinderDeathRecipientHelperApp2",
    ],
    required: ["com.android.cts.helpers.aosp"],
}

// Rules to copy all the test apks to the intermediate raw resource directory
+3 −0
Original line number Diff line number Diff line
@@ -24,6 +24,9 @@
        <option name="test-file-name" value="BinderDeathRecipientHelperApp1.apk" />
        <option name="test-file-name" value="BinderDeathRecipientHelperApp2.apk" />
    </target_preparer>

    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.DeviceInteractionHelperInstaller" />

    <option name="test-tag" value="FrameworksCoreTests" />
    <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
        <option name="package" value="com.android.frameworks.coretests" />
+5 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ import android.print.test.services.PrintServiceCallbacks;
import android.print.test.services.PrinterDiscoverySessionCallbacks;
import android.print.test.services.StubbablePrinterDiscoverySession;
import android.printservice.recommendation.IRecommendationsChangeListener;
import android.support.test.uiautomator.UiDevice;

import androidx.test.filters.LargeTest;
import androidx.test.filters.MediumTest;
@@ -71,6 +72,10 @@ public class IPrintManagerParametersTest extends BasePrintTest {

    private IPrintManager mIPrintManager;

    public static UiDevice getUiDevice() {
        return UiDevice.getInstance(getInstrumentation());
    }

    /**
     * Create a new IPrintManagerParametersTest and setup basic fields.
     */
+1 −0
Original line number Diff line number Diff line
@@ -27,4 +27,5 @@ android_test {

    sdk_version: "test_current",
    test_suites: ["device-tests"],
    required: ["com.android.cts.helpers.aosp"],
}
+2 −0
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@
        <option name="test-file-name" value="PrintSpoolerOutOfProcessTests.apk" />
    </target_preparer>

    <target_preparer class="com.android.compatibility.common.tradefed.targetprep.DeviceInteractionHelperInstaller" />

    <option name="test-suite-tag" value="apct" />
    <option name="test-tag" value="PrintSpoolerOutOfProcessTests" />
    <option name="config-descriptor:metadata" key="component" value="print" />
Loading