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.

BUILD 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. load(
  2. "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
  3. "junit_tests",
  4. )
  5. TEST_BASE = ["tst/org/eclipse/jgit/lfs/server/fs/LfsServerTest.java"]
  6. DEPS = [
  7. "//org.eclipse.jgit.lfs.test:helpers",
  8. "//org.eclipse.jgit:jgit",
  9. "//org.eclipse.jgit.junit:junit",
  10. "//org.eclipse.jgit.junit.http:junit-http",
  11. "//org.eclipse.jgit.lfs:jgit-lfs",
  12. "//org.eclipse.jgit.lfs.server:jgit-lfs-server",
  13. "//lib:commons-logging",
  14. "//lib:httpcore",
  15. "//lib:httpclient",
  16. "//lib:junit",
  17. "//lib:jetty-http",
  18. "//lib:jetty-io",
  19. "//lib:jetty-server",
  20. "//lib:jetty-servlet",
  21. "//lib:jetty-security",
  22. "//lib:jetty-util",
  23. "//lib:servlet-api",
  24. ]
  25. junit_tests(
  26. name = "lfs_server",
  27. srcs = glob(
  28. ["tst/**/*.java"],
  29. exclude = TEST_BASE,
  30. ),
  31. jvm_flags = [
  32. "-Xmx256m",
  33. "-Dfile.encoding=UTF-8",
  34. ],
  35. tags = ["lfs-server"],
  36. deps = DEPS + [
  37. ":helpers",
  38. ],
  39. )
  40. java_library(
  41. name = "helpers",
  42. testonly = 1,
  43. srcs = TEST_BASE,
  44. deps = DEPS,
  45. )