• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2020 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<configuration description="List MTS tests for extservices.">
17
18    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
19        <option name="run-command" value="device_config put textclassifier textclassifier_service_package_override com.google.android.ext.services" />
20        <option name="teardown-command" value="device_config delete textclassifier textclassifier_service_package_override" />
21    </target_preparer>
22
23    <!-- for Watchdog -->
24    <option name="compatibility:include-filter" value="CtsPackageWatchdogTestCases" />
25    <!-- for TextClassifier -->
26    <option name="compatibility:include-filter" value="CtsTextClassifierTestCases" />
27
28    <option name="compatibility:include-filter" value="ExtServicesUnitTests" />
29    <option name="compatibility:include-filter" value="TextClassifierNotificationTests" />
30    <option name="compatibility:include-filter" value="TextClassifierServiceTest" />
31
32    <!-- for TextClassifier native -->
33    <option name="compatibility:include-filter" value="libtextclassifier_tests" />
34    <option name="compatibility:include-filter" value="libtextclassifier_java_tests" />
35
36    <!-- for Displayhash native -->
37    <option name="compatibility:include-filter" value="libextservices_test" />
38
39    <!-- Enable MainlineTestModuleController. -->
40    <option name="compatibility:module-arg" value="CtsPackageWatchdogTestCases:enable:true" />
41    <option name="compatibility:module-arg" value="CtsTextClassifierTestCases:enable:true" />
42    <option name="compatibility:module-arg" value="ExtServicesUnitTests:enable:true" />
43    <option name="compatibility:module-arg" value="TextClassifierNotificationTests:enable:true" />
44    <option name="compatibility:module-arg" value="TextClassifierServiceTest:enable:true" />
45    <option name="compatibility:module-arg" value="libtextclassifier_tests:enable:true" />
46    <option name="compatibility:module-arg" value="libtextclassifier_java_tests:enable:true" />
47    <option name="compatibility:module-arg" value="libextservices_test:enable:true" />
48
49</configuration>
50