1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2024 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17<configuration description="Runs Tests for PlatformAnimationLib-core."> 18 <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup"> 19 <option name="test-file-name" value="PlatformAnimationLibCoreTests.apk" /> 20 <option name="install-arg" value="-t" /> 21 </target_preparer> 22 23 <!-- Among other reasons, root access is needed for screen recording artifacts. --> 24 <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"> 25 <option name="force-root" value="true" /> 26 </target_preparer> 27 28 <test class="com.android.tradefed.testtype.AndroidJUnitTest" > 29 <option name="package" value="com.android.systemui.animation.core.tests" /> 30 <option name="runner" value="android.testing.TestableInstrumentation" /> 31 <option name="test-filter-dir" value="/data/data/com.android.systemui.animation.core.tests" /> 32 <option name="hidden-api-checks" value="false"/> 33 </test> 34 35 <metrics_collector class="com.android.tradefed.device.metric.FilePullerLogCollector"> 36 <option name="directory-keys" value="/data/user/0/com.android.systemui.animation.core.tests/files" /> 37 <option name="collect-on-run-ended-only" value="false" /> 38 </metrics_collector> 39</configuration> 40