OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 assert(is_android) | 5 assert(is_android) |
6 | 6 |
7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
8 | 8 |
9 java_library("junit_test_support") { | 9 java_library("junit_test_support") { |
10 testonly = true | 10 testonly = true |
11 java_files = [ | 11 java_files = [ |
12 "java/src/org/chromium/testing/local/AnnotationProcessor.java", | 12 "java/src/org/chromium/testing/local/AnnotationProcessor.java", |
13 "java/src/org/chromium/testing/local/BackgroundShadowAsyncTask.java", | 13 "java/src/org/chromium/testing/local/BackgroundShadowAsyncTask.java", |
14 "java/src/org/chromium/testing/local/CustomShadowAsyncTask.java", | 14 "java/src/org/chromium/testing/local/CustomShadowAsyncTask.java", |
15 "java/src/org/chromium/testing/local/GtestComputer.java", | 15 "java/src/org/chromium/testing/local/GtestComputer.java", |
16 "java/src/org/chromium/testing/local/GtestFilter.java", | 16 "java/src/org/chromium/testing/local/GtestFilter.java", |
17 "java/src/org/chromium/testing/local/GtestListener.java", | 17 "java/src/org/chromium/testing/local/GtestListener.java", |
18 "java/src/org/chromium/testing/local/GtestLogger.java", | 18 "java/src/org/chromium/testing/local/GtestLogger.java", |
19 "java/src/org/chromium/testing/local/JsonListener.java", | 19 "java/src/org/chromium/testing/local/JsonListener.java", |
20 "java/src/org/chromium/testing/local/JsonLogger.java", | 20 "java/src/org/chromium/testing/local/JsonLogger.java", |
21 "java/src/org/chromium/testing/local/JunitTestArgParser.java", | 21 "java/src/org/chromium/testing/local/JunitTestArgParser.java", |
22 "java/src/org/chromium/testing/local/JunitTestMain.java", | 22 "java/src/org/chromium/testing/local/JunitTestMain.java", |
23 "java/src/org/chromium/testing/local/GNManifestFactory.java", | 23 "java/src/org/chromium/testing/local/GNManifestFactory.java", |
24 "java/src/org/chromium/testing/local/LocalRobolectricTestRunner.java", | 24 "java/src/org/chromium/testing/local/LocalRobolectricTestRunner.java", |
25 "java/src/org/chromium/testing/local/PackageFilter.java", | 25 "java/src/org/chromium/testing/local/PackageFilter.java", |
26 "java/src/org/chromium/testing/local/RunnerFilter.java", | 26 "java/src/org/chromium/testing/local/RunnerFilter.java", |
| 27 "java/src/org/chromium/testing/local/TestDir.java", |
27 ] | 28 ] |
28 deps = [ | 29 deps = [ |
29 "//third_party/junit", | 30 "//third_party/junit", |
30 "//third_party/mockito:mockito_java", | 31 "//third_party/mockito:mockito_java", |
31 "//third_party/robolectric:robolectric_all_java", | 32 "//third_party/robolectric:robolectric_all_java", |
32 ] | 33 ] |
33 } | 34 } |
34 | 35 |
35 junit_binary("junit_unit_tests") { | 36 junit_binary("junit_unit_tests") { |
36 java_files = [ | 37 java_files = [ |
37 "javatests/src/org/chromium/testing/local/GtestFilterTest.java", | 38 "javatests/src/org/chromium/testing/local/GtestFilterTest.java", |
38 "javatests/src/org/chromium/testing/local/GtestLoggerTest.java", | 39 "javatests/src/org/chromium/testing/local/GtestLoggerTest.java", |
39 "javatests/src/org/chromium/testing/local/PackageFilterTest.java", | 40 "javatests/src/org/chromium/testing/local/PackageFilterTest.java", |
40 "javatests/src/org/chromium/testing/local/RunnerFilterTest.java", | 41 "javatests/src/org/chromium/testing/local/RunnerFilterTest.java", |
41 ] | 42 ] |
42 } | 43 } |
OLD | NEW |