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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. load(
  2. "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
  3. "junit_tests",
  4. )
  5. junit_tests(
  6. name = "http",
  7. srcs = glob(["tst/**/*.java"]),
  8. tags = ["http"],
  9. deps = [
  10. ":helpers",
  11. "//lib:commons-logging",
  12. "//lib:httpcore",
  13. "//lib:jetty-http",
  14. "//lib:jetty-io",
  15. "//lib:jetty-security",
  16. "//lib:jetty-server",
  17. "//lib:jetty-servlet",
  18. "//lib:jetty-util",
  19. "//lib:junit",
  20. "//lib:servlet-api",
  21. "//lib:slf4j-api",
  22. "//lib:slf4j-simple",
  23. "//org.eclipse.jgit.http.apache:http-apache",
  24. "//org.eclipse.jgit.http.server:jgit-servlet",
  25. "//org.eclipse.jgit:jgit",
  26. "//org.eclipse.jgit.junit.http:junit-http",
  27. "//org.eclipse.jgit.junit:junit",
  28. ],
  29. )
  30. java_library(
  31. name = "helpers",
  32. testonly = 1,
  33. srcs = glob(["src/**/*.java"]),
  34. deps = [
  35. "//lib:junit",
  36. "//lib:servlet-api",
  37. "//org.eclipse.jgit.http.server:jgit-servlet",
  38. "//org.eclipse.jgit:jgit",
  39. "//org.eclipse.jgit.junit.http:junit-http",
  40. "//org.eclipse.jgit.junit:junit",
  41. ],
  42. )