10f6ddb37SDavid Ostrovskyload( 20f6ddb37SDavid Ostrovsky "@com_googlesource_gerrit_bazlets//tools:junit.bzl", 30f6ddb37SDavid Ostrovsky "junit_tests", 40f6ddb37SDavid Ostrovsky) 5*22973d13SMatthias Sohnload("@rules_java//java:defs.bzl", "java_library") 60f6ddb37SDavid Ostrovsky 70f6ddb37SDavid Ostrovskyjunit_tests( 80f6ddb37SDavid Ostrovsky name = "http", 90f6ddb37SDavid Ostrovsky srcs = glob(["tst/**/*.java"]), 100f6ddb37SDavid Ostrovsky tags = ["http"], 110f6ddb37SDavid Ostrovsky deps = [ 120f6ddb37SDavid Ostrovsky ":helpers", 130f6ddb37SDavid Ostrovsky "//lib:commons-logging", 14280707b0SGabriel Couto "//lib:httpcore", 150f6ddb37SDavid Ostrovsky "//lib:jetty-http", 160f6ddb37SDavid Ostrovsky "//lib:jetty-io", 170f6ddb37SDavid Ostrovsky "//lib:jetty-security", 180f6ddb37SDavid Ostrovsky "//lib:jetty-server", 190f6ddb37SDavid Ostrovsky "//lib:jetty-servlet", 200f6ddb37SDavid Ostrovsky "//lib:jetty-util", 210f6ddb37SDavid Ostrovsky "//lib:junit", 220f6ddb37SDavid Ostrovsky "//lib:servlet-api", 230f6ddb37SDavid Ostrovsky "//lib:slf4j-api", 240f6ddb37SDavid Ostrovsky "//lib:slf4j-simple", 250f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.apache:http-apache", 260f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.server:jgit-servlet", 270f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 280f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit.http:junit-http", 290f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit:junit", 300f6ddb37SDavid Ostrovsky ], 310f6ddb37SDavid Ostrovsky) 320f6ddb37SDavid Ostrovsky 330f6ddb37SDavid Ostrovskyjava_library( 340f6ddb37SDavid Ostrovsky name = "helpers", 350f6ddb37SDavid Ostrovsky testonly = 1, 360f6ddb37SDavid Ostrovsky srcs = glob(["src/**/*.java"]), 370f6ddb37SDavid Ostrovsky deps = [ 380f6ddb37SDavid Ostrovsky "//lib:junit", 39723d67b8SDavid Pursehouse "//lib:servlet-api", 400f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.http.server:jgit-servlet", 410f6ddb37SDavid Ostrovsky "//org.eclipse.jgit:jgit", 420f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit.http:junit-http", 430f6ddb37SDavid Ostrovsky "//org.eclipse.jgit.junit:junit", 440f6ddb37SDavid Ostrovsky ], 450f6ddb37SDavid Ostrovsky) 46