Reviewed By: sblackshear Differential Revision: D3569981 fbshipit-source-id: 198647bmaster
parent
41d93dd889
commit
8b0b485921
@ -0,0 +1,35 @@
|
|||||||
|
tests_dependencies = [
|
||||||
|
'//infer/lib/java/android:android',
|
||||||
|
'//dependencies/java/guava:guava',
|
||||||
|
'//dependencies/java/junit:hamcrest',
|
||||||
|
'//dependencies/java/jackson:jackson',
|
||||||
|
'//dependencies/java/jsr-305:jsr-305',
|
||||||
|
'//dependencies/java/junit:junit',
|
||||||
|
'//dependencies/java/opencsv:opencsv',
|
||||||
|
'//infer/tests/utils:utils',
|
||||||
|
]
|
||||||
|
|
||||||
|
cpp_infer_test_sources = glob(['*.java'])
|
||||||
|
cpp_infer_test_deps = []
|
||||||
|
for test_source in cpp_infer_test_sources:
|
||||||
|
target_name = test_source.replace("/", "_")[:-len(".java")]
|
||||||
|
cpp_infer_test_deps.append(target_name)
|
||||||
|
|
||||||
|
java_test(
|
||||||
|
name=target_name,
|
||||||
|
srcs=[test_source],
|
||||||
|
deps=tests_dependencies,
|
||||||
|
visibility=[
|
||||||
|
'PUBLIC',
|
||||||
|
],
|
||||||
|
source='7',
|
||||||
|
target='7',
|
||||||
|
)
|
||||||
|
|
||||||
|
java_test(
|
||||||
|
name='infer',
|
||||||
|
deps=[':' + x for x in cpp_infer_test_deps],
|
||||||
|
visibility=[
|
||||||
|
'PUBLIC',
|
||||||
|
],
|
||||||
|
)
|
@ -0,0 +1,35 @@
|
|||||||
|
tests_dependencies = [
|
||||||
|
'//infer/lib/java/android:android',
|
||||||
|
'//dependencies/java/guava:guava',
|
||||||
|
'//dependencies/java/junit:hamcrest',
|
||||||
|
'//dependencies/java/jackson:jackson',
|
||||||
|
'//dependencies/java/jsr-305:jsr-305',
|
||||||
|
'//dependencies/java/junit:junit',
|
||||||
|
'//dependencies/java/opencsv:opencsv',
|
||||||
|
'//infer/tests/utils:utils',
|
||||||
|
]
|
||||||
|
|
||||||
|
objc_infer_test_sources = glob(['*.java'])
|
||||||
|
objc_infer_test_deps = []
|
||||||
|
for test_source in objc_infer_test_sources:
|
||||||
|
target_name = test_source.replace("/", "_")[:-len(".java")]
|
||||||
|
objc_infer_test_deps.append(target_name)
|
||||||
|
|
||||||
|
java_test(
|
||||||
|
name=target_name,
|
||||||
|
srcs=[test_source],
|
||||||
|
deps=tests_dependencies,
|
||||||
|
visibility=[
|
||||||
|
'PUBLIC',
|
||||||
|
],
|
||||||
|
source='7',
|
||||||
|
target='7',
|
||||||
|
)
|
||||||
|
|
||||||
|
java_test(
|
||||||
|
name='infer',
|
||||||
|
deps=[':' + x for x in objc_infer_test_deps],
|
||||||
|
visibility=[
|
||||||
|
'PUBLIC',
|
||||||
|
],
|
||||||
|
)
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue