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

Commit cec0a735 authored by Bill Lin's avatar Bill Lin
Browse files

Add DocumentsUI unit tests to MTS

Change targetprep to SuiteApkInstaller so that the MTS suite can find the apk.

Changing the targetpreparer will not affect previous apk searching for device-tests.

Test: m mts, mts-tradefed run mts-documentsUI
Bug: 139495844
Bug: 123411735
Change-Id: Ife1f9dfcdb2265dc1e07a937b90ffe6140563171
parent 89999d01
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -87,6 +87,7 @@ android_test {

    test_suites: [
        "device-tests",
        "mts",
    ],

    platform_apis: true,
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
     limitations under the License.
-->
<configuration description="Runs Tests for DocumentsUI.">
    <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup">
    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
        <option name="test-file-name" value="DocumentsUITests.apk" />
    </target_preparer>