1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 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<!-- This test config file is copied from the auto-generated
17     $OUT/testcases/CarDialerUnitTests/CarDialerUnitTests.config.
18     Except that it adds one line under the apk installer to install the
19     CarDialerAppForTesting.apk. -->
20<configuration description="Runs Car Dialer Unit Tests.">
21    <option name="test-suite-tag" value="apct" />
22    <option name="test-suite-tag" value="apct-instrumentation" />
23
24    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
25        <option name="cleanup-apks" value="true" />
26        <option name="test-file-name" value="CarDialerUnitTests.apk" />
27        <option name="test-file-name" value="CarDialerAppForTesting.apk" />
28    </target_preparer>
29
30    <!--Disable device animation and clear app data before test running. -->
31    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
32        <option name="run-command" value="settings put global window_animation_scale 0" />
33        <option name="run-command" value="settings put global transition_animation_scale 0" />
34        <option name="run-command" value="settings put global animator_duration_scale 0" />
35    </target_preparer>
36
37    <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
38        <option name="package" value="com.android.car.dialer.unittests" />
39        <option name="runner" value="androidx.test.runner.AndroidJUnitRunner" />
40    </test>
41</configuration>
42