Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e70cabfb authored by Amy Zhang's avatar Amy Zhang
Browse files

Remove bp and manifest for trm tests

TRM tests are compiled with FrameworksServicesTests

Test: make
Bug: 151186028
Change-Id: Ic8184b431188b9690d4958b0130d2e23b5506d0a
parent 4f9ab82c
Loading
Loading
Loading
Loading
+0 −37
Original line number Diff line number Diff line
android_test {
    name: "TunerResourceManagerTests",

    // Include all test java files.
    srcs: [
        "*.java",
    ],

    static_libs: [
        "frameworks-base-testutils",
        "services.core",
        "services.devicepolicy",
        "guava",
        "androidx.test.core",
        "androidx.test.ext.truth",
        "androidx.test.runner",
        "androidx.test.rules",
        "mockito-target-minus-junit4",
        "platform-test-annotations",
        "truth-prebuilt",
        "testables",
        "testng",
        "servicestests-utils",
        "service-permission",

    ],

    libs: [
        "android.test.mock",
        "android.test.base",
        "android.test.runner",
    ],

    platform_apis: true,
    test_suites: ["general-tests", "device-tests"],
    compile_multilib: "both",
}
 No newline at end of file
+0 −29
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2020 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.server.tv.tunerresourcemanager">
    <application>
        <uses-library android:name="android.test.runner" />
    </application>
    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
                     android:targetPackage="com.android.server.tv.tunerresourcemanager"
                     android:label="Tuner Resource Manager Test Cases">
    </instrumentation>
</manifest>


+0 −29
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2020 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<configuration description="Runs Tests for Tuner Resource Manager">
    <target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup">
        <option name="test-file-name" value="TunerResourceManagerTests.apk" />
    </target_preparer>

    <option name="test-suite-tag" value="apct" />
    <option name="test-suite-tag" value="framework-base-presubmit" />
    <option name="test-tag" value="TunerResourceManagerTests" />
    <test class="com.android.tradefed.testtype.AndroidJUnitTest" >
        <option name="package" value="com.android.server.tv.tunerresourcemanager" />
        <option name="runner" value="androidx.test.runner.AndroidJUnitRunner" />
        <option name="hidden-api-checks" value="false"/>
    </test>
</configuration>
 No newline at end of file