summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs.server.test/BUCK
blob: 9d6e72fcf584d12f153e735c5ea3b275342b0317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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'],
  )