// Copyright 2008, 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.

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_packages_WAPPushManager_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: [
        "frameworks_base_packages_WAPPushManager_license",
    ],
}

android_test {
    name: "WAPPushManagerTests",
    libs: [
        "android.test.runner.stubs.system",
        "telephony-common",
        "android.test.base.stubs.system",
    ],
    static_libs: ["junit"],
    // Include all test java files.
    srcs: [
        "src/**/*.java",
        "src/com/android/smspush/unitTests/IDataVerify.aidl",
    ],
    // Notice that we don't have to include the src files of Email
    // because running the tests using an instrumentation targeting
    // Email, we automatically get all of its classes loaded into
    // our environment.
    platform_apis: true,
    instrumentation_for: "WAPPushManager",
}
