• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2017 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.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17    default_team: "trendy_team_android_onboarding",
18}
19
20java_test_host {
21    name: "CtsBackupHostTestCases",
22    srcs: ["src/**/*.java"],
23    // tag this module as a cts test artifact
24    test_suites: [
25        "cts",
26        "mcts",
27        "general-tests",
28        "mts-permission",
29        "sts",
30    ],
31    libs: [
32        "cts-tradefed",
33        "tradefed",
34        "compatibility-host-util",
35    ],
36    static_libs: [
37        "truth",
38        "platformprotos",
39    ],
40    device_common_data: [
41        ":AdbBackupApp",
42        ":BackupAllowedApp",
43        ":BackupNotAllowedApp",
44        ":CtsAutoRestoreApp",
45        ":CtsBackupOtherSoundsSettingsApp",
46        ":CtsBackupRestoreAnyVersionApp",
47        ":CtsBackupRestoreAnyVersionAppUpdate",
48        ":CtsBackupRestoreAnyVersionNoRestoreApp",
49        ":CtsBackupSuccessNotificationApp",
50        ":CtsBackupSyncAdapterSettingsApp",
51        ":CtsDataExtractionRulesApp",
52        ":CtsDataExtractionRulesApplicabilityApp",
53        ":CtsEncryptionAttributeApp",
54        ":CtsFullBackupContentApp",
55        ":CtsHostsideTestsFullBackupApp",
56        ":CtsKeyValueBackupRestoreApp",
57        ":CtsPreservedSettingsApp",
58        ":CtsProfileFullBackupApp",
59        ":CtsProfileKeyValueApp",
60        ":CtsProfileSerialNumberApp",
61        ":CtsRestoreSessionApp",
62        ":CtsRestoreSessionApp1",
63        ":CtsRestoreSessionApp2",
64        ":CtsSharedPreferencesRestoreApp",
65        ":DebuggableApp",
66        ":FullBackupOnlyFalseNoAgentApp",
67        ":FullBackupOnlyFalseWithAgentApp",
68        ":FullBackupOnlyTrueWithAgentApp",
69        ":NonDebuggableApp",
70    ],
71    per_testcase_directory: true,
72}
73
74test_module_config_host {
75    name: "CtsBackupHostTestCases_backup_othersoundssettingshostsidetest",
76    base: "CtsBackupHostTestCases",
77    test_suites: ["general-tests"],
78    include_filters: ["android.cts.backup.OtherSoundsSettingsHostSideTest"],
79}
80