summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Zhu <chenzhu@google.com>2019-11-01 14:01:40 -0700
committerChen Zhu <chenzhu@google.com>2019-11-01 17:19:03 -0700
commit23519f62c6c4dcfffb376c64cf92fc1f2ac6f0d3 (patch)
treea285c16bd1247eb0da7bf5a5f6279de5b467e8e2
parent7d2d795e8cf1e2a22ce83025f6546b750ea8aef9 (diff)
downloadandroid_packages_apps_DocumentsUI-23519f62c6c4dcfffb376c64cf92fc1f2ac6f0d3.tar.gz
android_packages_apps_DocumentsUI-23519f62c6c4dcfffb376c64cf92fc1f2ac6f0d3.tar.bz2
android_packages_apps_DocumentsUI-23519f62c6c4dcfffb376c64cf92fc1f2ac6f0d3.zip
Add DocumentsUITests.apk to MTS to get coverage data.
Bug:143778863 Test: m mts Change-Id: Id905a2540a3e4bcbd93e68e80c4c2f3e48651cf8
-rw-r--r--tests/Android.bp1
-rw-r--r--tests/AndroidTest.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Android.bp b/tests/Android.bp
index 92c578d64..15aac38c5 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -87,6 +87,7 @@ android_test {
test_suites: [
"device-tests",
+ "mts",
],
platform_apis: true,
diff --git a/tests/AndroidTest.xml b/tests/AndroidTest.xml
index 7893150d0..7874118db 100644
--- a/tests/AndroidTest.xml
+++ b/tests/AndroidTest.xml
@@ -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>