Files
android_packages_modules_Co…/tests/cts/netpermission/internetpermission/Android.bp
Paul Hu b907d74932 Add connectivity pre-check for net permission cts tests
The net permission cts tests require an available network to run.
Therefore, a connectivity pre-check should be added to ensure
that there is an active network before running the tests.

Test: atest CtsNetTestCasesUpdateStatsPermission \
      CtsNetTestCasesInternetPermission
Change-Id: I1c7fb43bb009eb0fd2570bc40a14e55f5ebd2d8b
2023-06-13 17:39:19 +08:00

34 lines
1016 B
Plaintext

// Copyright (C) 2019 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 {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test {
name: "CtsNetTestCasesInternetPermission",
defaults: ["cts_defaults"],
srcs: ["src/**/*.java"],
static_libs: ["ctstestrunner-axt"],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
],
host_required: ["net-tests-utils-host-common"],
}