Richard Uhler | a729134 | 2019-03-07 14:51:05 +0000 | [diff] [blame] | 1 | // 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 Uhler | a729134 | 2019-03-07 14:51:05 +0000 | [diff] [blame] | 15 | android_test { |
| 16 | name: "RollbackTest", |
| 17 | manifest: "RollbackTest/AndroidManifest.xml", |
| 18 | srcs: ["RollbackTest/src/**/*.java"], |
shafik | e17ad4a | 2019-06-06 19:16:39 +0100 | [diff] [blame] | 19 | static_libs: ["androidx.test.rules", "cts-rollback-lib", "cts-install-lib"], |
Richard Uhler | a729134 | 2019-03-07 14:51:05 +0000 | [diff] [blame] | 20 | test_suites: ["general-tests"], |
Richard Uhler | a729134 | 2019-03-07 14:51:05 +0000 | [diff] [blame] | 21 | test_config: "RollbackTest.xml", |
Richard Uhler | a729134 | 2019-03-07 14:51:05 +0000 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | java_test_host { |
| 25 | name: "StagedRollbackTest", |
| 26 | srcs: ["StagedRollbackTest/src/**/*.java"], |
| 27 | libs: ["tradefed"], |
JW Wang | 05ebdd4 | 2019-10-25 10:01:03 +0800 | [diff] [blame] | 28 | static_libs: ["testng"], |
Richard Uhler | a729134 | 2019-03-07 14:51:05 +0000 | [diff] [blame] | 29 | test_suites: ["general-tests"], |
| 30 | test_config: "StagedRollbackTest.xml", |
| 31 | } |
shafik | 2340e8b | 2019-05-30 15:15:43 +0100 | [diff] [blame] | 32 | |
| 33 | java_test_host { |
Gavin Corkery | a859e8a | 2019-09-06 12:14:26 +0100 | [diff] [blame] | 34 | name: "MultiUserRollbackTest", |
| 35 | srcs: ["MultiUserRollbackTest/src/**/*.java"], |
shafik | 2340e8b | 2019-05-30 15:15:43 +0100 | [diff] [blame] | 36 | libs: ["tradefed"], |
| 37 | test_suites: ["general-tests"], |
Gavin Corkery | a859e8a | 2019-09-06 12:14:26 +0100 | [diff] [blame] | 38 | test_config: "MultiUserRollbackTest.xml", |
shafik | 2340e8b | 2019-05-30 15:15:43 +0100 | [diff] [blame] | 39 | } |