1// Copyright (C) 2015 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14package {
15    default_applicable_licenses: ["Android-Apache-2.0"],
16}
17
18android_test {
19    name: "CtsNetSecPolicyUsesCleartextTrafficFalse",
20    defaults: ["cts_support_defaults"],
21    srcs: ["usescleartexttraffic-shared/src/**/*.java"],
22    // Tag this module as a cts test artifact
23    test_suites: [
24        "cts",
25        "general-tests",
26    ],
27    sdk_version: "current",
28    manifest: "usescleartexttraffic-false/AndroidManifest.xml",
29}
30
31android_test {
32    name: "CtsNetSecPolicyUsesCleartextTrafficTrue",
33    defaults: ["cts_support_defaults"],
34    srcs: ["usescleartexttraffic-shared/src/**/*.java"],
35    // Tag this module as a cts test artifact
36    test_suites: [
37        "cts",
38        "general-tests",
39    ],
40    sdk_version: "current",
41    manifest: "usescleartexttraffic-true/AndroidManifest.xml",
42}
43
44android_test {
45    name: "CtsNetSecPolicyUsesCleartextTrafficUnspecified",
46    defaults: ["cts_support_defaults"],
47    srcs: ["usescleartexttraffic-shared/src/**/*.java"],
48    // Tag this module as a cts test artifact
49    test_suites: [
50        "cts",
51        "general-tests",
52    ],
53    sdk_version: "current",
54    manifest: "usescleartexttraffic-unspecified/AndroidManifest.xml",
55}
56