blob: 03c73986118d8292ea94b3ffbf6390d0196c4081 [file] [log] [blame]
Sasha Smundak31754eb2019-02-11 14:41:25 -08001// Copyright 2010, 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
15android_test {
16 name: "FrameworkTestRunnerTests",
17
18 // We only want this apk build for tests.
19 //
20 // Run the tests using the following commands:
21 // adb install -r ${ANDROID_PRODUCT_OUT}/data/app/FrameworkTestRunnerTests/FrameworkTestRunnerTests.apk
22 // adb shell am instrument \
23 // -e notAnnotation android.test.suitebuilder.examples.error.RunAsPartOfSeparateTest \
24 // -w com.android.frameworks.testrunner.tests/android.test.InstrumentationTestRunner \
25 //
26
27 libs: [
28 "android.test.runner",
29 "android.test.base",
30 "android.test.mock",
31 ],
32 static_libs: ["junit"],
33
34 // Include all test java files.
35 srcs: ["src/**/*.java"],
36
37 // Because of android.test.mock.
38 platform_apis: true,
39
40}