You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031
  1. TESTS = glob(['tst/**/*.java'])
  2. for t in TESTS:
  3. n = t[len('tst/'):len(t)-len('.java')].replace('/', '.')
  4. java_test(
  5. name = n,
  6. labels = ['lfs'],
  7. srcs = [t],
  8. deps = [
  9. ':helpers',
  10. '//org.eclipse.jgit.junit:junit',
  11. '//org.eclipse.jgit.lfs:jgit-lfs',
  12. '//org.eclipse.jgit:jgit',
  13. '//lib:hamcrest-core',
  14. '//lib:hamcrest-library',
  15. '//lib:junit',
  16. ],
  17. source_under_test = ['//org.eclipse.jgit.lfs:jgit-lfs'],
  18. )
  19. java_library(
  20. name = 'helpers',
  21. srcs = glob(['src/**/*.java']),
  22. deps = [
  23. '//org.eclipse.jgit:jgit',
  24. '//org.eclipse.jgit.lfs:jgit-lfs',
  25. '//org.eclipse.jgit.junit:junit',
  26. '//lib:junit',
  27. ],
  28. visibility = ['PUBLIC']
  29. )