1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 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="Config for CTS GrammaticalInflectionManager host test cases">
17    <option name="test-suite-tag" value="cts" />
18    <option name="config-descriptor:metadata" key="component" value="framework" />
19    <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
20    <option name="config-descriptor:metadata" key="parameter" value="not_multi_abi" />
21    <!-- Module cannot run in secondary user because these tests require a device restart which
22         automatically switches back to the primary user. Switching to the secondary user within the
23         test still causes the user to remain in LOCKED state which means the tests don't work.
24
25         Also note that most of our API test cases are in our instrumentation CTS suite at
26         cts/tests/framework/base/locale, which does in fact work across secondary users.
27    -->
28    <option name="config-descriptor:metadata" key="parameter" value="not_secondary_user" />
29    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
30        <option name="cleanup-apks" value="true" />
31        <option name="test-file-name" value="CtsGrammaticalInflectionAtomTestApp.apk" />
32    </target_preparer>
33    <test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" >
34        <option name="jar" value="CtsGrammaticalInflectionHostTestCases.jar" />
35    </test>
36</configuration>
37