blob: 9d6e72fcf584d12f153e735c5ea3b275342b0317 [file] [log] [blame]
TEST_BASE = ['tst/org/eclipse/jgit/lfs/server/fs/LfsServerTest.java']
TESTS = glob(['tst/**/*.java'],
excludes = TEST_BASE
)
for t in TESTS:
n = t[len('tst/'):len(t)-len('.java')].replace('/', '.')
java_test(
name = n,
labels = ['lfs-server'],
srcs = [t] + TEST_BASE,
deps = [
'//org.eclipse.jgit.lfs.test:helpers',
'//org.eclipse.jgit:jgit',
'//org.eclipse.jgit.junit:junit',
'//org.eclipse.jgit.junit.http:junit-http',
'//org.eclipse.jgit.lfs:jgit-lfs',
'//org.eclipse.jgit.lfs.server:jgit-lfs-server',
'//lib:hamcrest-core',
'//lib:hamcrest-library',
'//lib:httpcore',
'//lib:httpcomponents',
'//lib:junit',
'//lib/jetty:http',
'//lib/jetty:io',
'//lib/jetty:server',
'//lib/jetty:servlet',
'//lib/jetty:security',
'//lib/jetty:util',
'//lib:servlet-api',
'//lib:commons-logging',
],
source_under_test = ['//org.eclipse.jgit.lfs.server:jgit-lfs-server'],
vm_args = ['-Xmx256m', '-Dfile.encoding=UTF-8'],
)