blob: 2bd5931eccbe1f8133b2b63e5382e9c02e9c21a9 [file] [log] [blame]
Richard Uhlera7291342019-03-07 14:51:05 +00001// Copyright (C) 2019 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
Richard Uhlera7291342019-03-07 14:51:05 +000015android_test {
16 name: "RollbackTest",
17 manifest: "RollbackTest/AndroidManifest.xml",
18 srcs: ["RollbackTest/src/**/*.java"],
shafike17ad4a2019-06-06 19:16:39 +010019 static_libs: ["androidx.test.rules", "cts-rollback-lib", "cts-install-lib"],
Richard Uhlera7291342019-03-07 14:51:05 +000020 test_suites: ["general-tests"],
Richard Uhlera7291342019-03-07 14:51:05 +000021 test_config: "RollbackTest.xml",
Zimuzoe77a3e12019-04-16 09:59:40 +010022 // TODO: sdk_version: "test_current" when Intent#resolveSystemservice is TestApi
Richard Uhlera7291342019-03-07 14:51:05 +000023}
24
25java_test_host {
26 name: "StagedRollbackTest",
27 srcs: ["StagedRollbackTest/src/**/*.java"],
28 libs: ["tradefed"],
29 test_suites: ["general-tests"],
30 test_config: "StagedRollbackTest.xml",
31}
shafik2340e8b2019-05-30 15:15:43 +010032
33java_test_host {
34 name: "SecondaryUserRollbackTest",
35 srcs: ["SecondaryUserRollbackTest/src/**/*.java"],
36 libs: ["tradefed"],
37 test_suites: ["general-tests"],
38 test_config: "SecondaryUserRollbackTest.xml",
39}